Sha256: e6599f04e13e01ecd6bcf8d01367ef2d39eeb4553c51cd6627fe4b05493d9dac

Contents?: true

Size: 933 Bytes

Versions: 3

Compression:

Stored size: 933 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "code"
require_relative "code_with_authority"
require_relative "directed_node_property"
require_relative "meta_data_property"
require_relative "reference"
require_relative "abstract_topology"

module Ogc
  module Gml
    class TopoPoint < AbstractTopology
      attribute :directed_node, DirectedNodeProperty

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

        map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
        map_element "metaDataProperty", to: :meta_data_property
        map_element "description", to: :description
        map_element "descriptionReference", to: :description_reference
        map_element "identifier", to: :identifier
        map_element "name", to: :name
        map_element "directedNode", to: :directed_node
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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