Sha256: 9bfc2333e1f5705960c45574a458ba05a9150d2ba66c5273252a3d1b07653510

Contents?: true

Size: 527 Bytes

Versions: 3

Compression:

Stored size: 527 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "envelope"

module Ogc
  module Gml
    class BoundingShape < Lutaml::Model::Serializable
      attribute :nil_reason, :string
      attribute :envelope, Envelope
      attribute :null, :string

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

        map_attribute "nilReason", to: :nil_reason
        map_element "Envelope", to: :envelope
        map_element "Null", to: :null
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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