Sha256: 7241cca032315637ed5c4afc76a2ae3dd594cd9a98804ec7feb6e69c7569c66a

Contents?: true

Size: 718 Bytes

Versions: 3

Compression:

Stored size: 718 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "direct_position"
require_relative "vector"

module Ogc
  module Gml
    class AffinePlacement < Lutaml::Model::Serializable
      attribute :location, DirectPosition
      attribute :ref_direction, Vector, collection: true
      attribute :in_dimension, :integer
      attribute :out_dimension, :integer

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

        map_element "location", to: :location
        map_element "refDirection", to: :ref_direction
        map_element "inDimension", to: :in_dimension
        map_element "outDimension", to: :out_dimension
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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