Sha256: f24bf240e910545a542733b5c5ba1b38165d651e8c188d686321fcd2058dd212

Contents?: true

Size: 445 Bytes

Versions: 3

Compression:

Stored size: 445 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "code"

module Ogc
  module Gml
    class CodeWithAuthority < Lutaml::Model::Serializable
      attribute :content, Code
      attribute :code_space, :string

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

        map_content to: :content
        map_attribute "codeSpace", to: :code_space
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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