lib/ogc/gml/abstract_coordinate_system.rb in ogc-gml-1.0.0 vs lib/ogc/gml/abstract_coordinate_system.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,26 +1,25 @@
# frozen_string_literal: true
-# --- abstract_coordinate_system_type.rb ---
-require "shale"
+require "lutaml/model"
require_relative "code"
require_relative "code_with_authority"
require_relative "coordinate_system_axis_property"
require_relative "meta_data_property"
require_relative "reference"
module Ogc
module Gml
- class AbstractCoordinateSystem < Shale::Mapper
- attribute :id, Shale::Type::Value
- attribute :aggregation_type, Shale::Type::String
+ class AbstractCoordinateSystem < Lutaml::Model::Serializable
+ attribute :id, :string
+ attribute :aggregation_type, :string
attribute :meta_data_property, MetaDataProperty, collection: true
- attribute :description, Shale::Type::String
+ attribute :description, :string
attribute :description_reference, Reference
attribute :identifier, CodeWithAuthority
attribute :name, Code, collection: true
- attribute :remarks, Shale::Type::String
+ attribute :remarks, :string
attribute :axis, CoordinateSystemAxisProperty, collection: true
xml do
root "AbstractCoordinateSystem"
namespace "http://www.opengis.net/gml/3.2", "gml"