lib/ogc/gml/geometry_array_property.rb in ogc-gml-1.0.0 vs lib/ogc/gml/geometry_array_property.rb in ogc-gml-1.0.1

- old
+ new

@@ -1,15 +1,14 @@ # frozen_string_literal: true -# --- geometry_array_property_type.rb --- -require "shale" +require "lutaml/model" require_relative "abstract_geometry" module Ogc module Gml - class GeometryArrayProperty < Shale::Mapper - attribute :owns, Shale::Type::Boolean, default: -> { "false" } + class GeometryArrayProperty < Lutaml::Model::Serializable + attribute :owns, :boolean, default: -> { false } attribute :abstract_geometry, AbstractGeometry, collection: true xml do root "geometryMembers" namespace "http://www.opengis.net/gml/3.2", "gml"