Sha256: bc6973c9de415bb41aedc262b2b6b66abdf49f8c70ddad1bf6c2518608ff9c4c

Contents?: true

Size: 686 Bytes

Versions: 3

Compression:

Stored size: 686 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "grid_function"
require_relative "mapping_rule"
require_relative "string_or_ref"

module Ogc
  module Gml
    class CoverageFunction < Lutaml::Model::Serializable
      attribute :mapping_rule, StringOrRef
      attribute :coverage_mapping_rule, MappingRule
      attribute :grid_function, GridFunction

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

        map_element "MappingRule", to: :mapping_rule
        map_element "CoverageMappingRule", to: :coverage_mapping_rule
        map_element "GridFunction", to: :grid_function
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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