Sha256: d12f36a1d137c9a7518cac2f5c408b161619fa93c4be31946b8267edae753367

Contents?: true

Size: 414 Bytes

Versions: 3

Compression:

Stored size: 414 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "measure"
require_relative "unit_of_measure"

module Ogc
  module Gml
    class Angle < UnitOfMeasure
      attribute :content, Measure

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

        map_attribute "uom", to: :uom
        map_content to: :content
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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