Sha256: 91317adb112ee919b06f62a0048d8d49e19c7fb2891bf63aada2f8ea261fd7a8

Contents?: true

Size: 1.56 KB

Versions: 3

Compression:

Stored size: 1.56 KB

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "code"
require_relative "code_with_authority"
require_relative "coordinate_operation_accuracy"
require_relative "coordinate_operation_property"
require_relative "crs_property"
require_relative "meta_data_property"
require_relative "reference"
require_relative "concatenated_operation"

module Ogc
  module Gml
    class PassThroughOperation < ConcatenatedOperation
      attribute :modified_coordinate, :integer, collection: true

      xml do
        root "PassThroughOperation"
        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_attribute "aggregationType", to: :aggregation_type
        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 "remarks", to: :remarks
        map_element "domainOfValidity", to: :domain_of_validity
        map_element "scope", to: :scope
        map_element "operationVersion", to: :operation_version
        map_element "coordinateOperationAccuracy", to: :coordinate_operation_accuracy
        map_element "sourceCRS", to: :source_crs
        map_element "targetCRS", to: :target_crs
        map_element "modifiedCoordinate", to: :modified_coordinate
        map_element "coordOperation", to: :coord_operation
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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