Sha256: 5bc62df034920de3ebfd5358a47eedd51776009c6935322a6418a2ed637b050a

Contents?: true

Size: 665 Bytes

Versions: 3

Compression:

Stored size: 665 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "abstract_crs"

module Ogc
  module Gml
    class SingleCRSProperty < Lutaml::Model::Serializable
      attribute :nil_reason, :string
      attribute :remote_schema, :string
      attribute :abstract_single_crs, AbstractCRS

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

        map_attribute "nilReason", to: :nil_reason
        map_attribute "remoteSchema", to: :remote_schema, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
        map_element "AbstractSingleCRS", to: :abstract_single_crs
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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