Sha256: 5b01f1f26cf3ceb4b53e18b227ce3cab872b7a1f0cb780cf6db18a4af76cfd7f

Contents?: true

Size: 586 Bytes

Versions: 3

Compression:

Stored size: 586 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "shell_property"

module Ogc
  module Gml
    class PolygonPatch < Lutaml::Model::Serializable
      attribute :interpolation, :string
      attribute :exterior, ShellProperty
      attribute :interior, ShellProperty, collection: true

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

        map_attribute "interpolation", to: :interpolation
        map_element "exterior", to: :exterior
        map_element "interior", to: :interior
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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