Sha256: 99c65203d7dd5c24b5d4aa0b296a0e0ad8b7de8449a1c70a22ff435e770c2415

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

# frozen_string_literal: true

require "lutaml/model"
require_relative "temporal_cs_property"
require_relative "temporal_datum_property"
require_relative "time_cs_property"
require_relative "abstract_topology"

module Ogc
  module Gml
    class TemporalCRS < AbstractCRS
      attribute :time_cs, TimeCSProperty
      attribute :uses_temporal_cs, TemporalCSProperty
      attribute :temporal_datum, TemporalDatumProperty

      xml do
        root "TemporalCRS"
        namespace "http://www.opengis.net/gml/3.2", "gml"

        map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
        map_element "metaDataProperty", to: :meta_data_property
        map_element "description", to: :description
        map_element "descriptionReference", to: :description_reference
        map_element "identifier", to: :identifier
        map_element "name", to: :name
        map_element "remarks", to: :remarks
        map_element "domainOfValidity", to: :domain_of_validity
        map_element "scope", to: :scope
        map_element "timeCS", to: :time_cs
        map_element "usesTemporalCS", to: :uses_temporal_cs
        map_element "temporalDatum", to: :temporal_datum
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ogc-gml-1.0.3 lib/ogc/gml/temporal_crs.rb
ogc-gml-1.0.2 lib/ogc/gml/temporal_crs.rb
ogc-gml-1.0.1 lib/ogc/gml/temporal_crs.rb