Sha256: e2d80116b6a679db87c0436744e9ca45b9570ec99e95ff5cf986df6a67349c67

Contents?: true

Size: 753 Bytes

Versions: 3

Compression:

Stored size: 753 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "data_block"
require_relative "file"
require_relative "value_array"

module Ogc
  module Gml
    class RangeSet < Lutaml::Model::Serializable
      attribute :value_array, ValueArray, collection: true
      attribute :abstract_scalar_value_list, :string, collection: true
      attribute :data_block, DataBlock
      attribute :file, File

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

        map_element "ValueArray", to: :value_array
        map_element "AbstractScalarValueList", to: :abstract_scalar_value_list
        map_element "DataBlock", to: :data_block
        map_element "File", to: :file
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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