Sha256: c176045eecd6e143233b74c0a663b9ea455df7a4705863e88159cfdaa2189289

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

# frozen_string_literal: true

require "lutaml/model"
require_relative "coverage_function"
require_relative "abstract_coverage"

module Ogc
  module Gml
    class AbstractContinuousCoverage < AbstractCoverage
      attribute :bounded_by, BoundingShape
      attribute :location, LocationProperty
      attribute :domain_set, DomainSet
      attribute :range_set, RangeSet
      attribute :coverage_function, CoverageFunction

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

        map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
        map_element "metaDataProperty", to: :meta_data_property
        map_element "description", to: :description
        map_element "descriptionReference", to: :description_reference
        map_element "identifier", to: :identifier
        map_element "name", to: :name
        map_element "boundedBy", to: :bounded_by
        map_element "location", to: :location
        map_element "domainSet", to: :domain_set
        map_element "rangeSet", to: :range_set
        map_element "coverageFunction", to: :coverage_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/abstract_continuous_coverage.rb
ogc-gml-1.0.2 lib/ogc/gml/abstract_continuous_coverage.rb
ogc-gml-1.0.1 lib/ogc/gml/abstract_continuous_coverage.rb