Sha256: 8ccf09ab8d7d6a4109044b2dc87a9743743d9f99497d9c407ce6be9c54a08ce8

Contents?: true

Size: 509 Bytes

Versions: 15

Compression:

Stored size: 509 Bytes

Contents

# unpack point
# point is coded in GeoJSON
module ADIWG
    module Mdtranslator
        module Point
            def self.unpack(aCoords, geoType, _responseObj)
                intMetadataClass = InternalMetadata.new
                intPoint = intMetadataClass.newGeometry

                intPoint[:geoType] = geoType
                intPoint[:geometry] = aCoords
                intPoint[:dimension] = AdiwgCoordinates.getDimension(aCoords)

                intPoint
            end
        end
    end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
adiwg-mdtranslator-1.4.0 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta14 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta13 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta12 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta11 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta10 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta9 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta8 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta7 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta6 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta5 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta4 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta3 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta2 lib/adiwg/mdtranslator/internal/module_point.rb
adiwg-mdtranslator-1.4.0.beta1 lib/adiwg/mdtranslator/internal/module_point.rb