Sha256: 506e7a02d3b327324d60d9cdf1ee53ffeeb8176cb9e59940b9a5562c776f896b

Contents?: true

Size: 576 Bytes

Versions: 3

Compression:

Stored size: 576 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "shell"
require_relative "ring"
require_relative "linear_ring"

module Ogc
  module Gml
    class ShellProperty < Lutaml::Model::Serializable
      attribute :shell, Shell
      attribute :ring, Ring
      attribute :linear_ring, LinearRing

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

        map_element "Shell", to: :shell
        map_element "Ring", to: :ring
        map_element "LinearRing", to: :linear_ring
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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