Sha256: 3b9ab03a2e4642f9eee3292cdb87f8da233662c972fa73f61e57c6cd8b1a2ae0

Contents?: true

Size: 681 Bytes

Versions: 3

Compression:

Stored size: 681 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "code"
require_relative "reference"

module Ogc
  module Gml
    class DirectionDescription < Lutaml::Model::Serializable
      attribute :compass_point, :string
      attribute :keyword, Code
      attribute :description, :string
      attribute :reference, Reference

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

        map_element "compassPoint", to: :compass_point
        map_element "keyword", to: :keyword
        map_element "description", to: :description
        map_element "reference", to: :reference
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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