Sha256: 4469fddcc138d17c4fbb8d9cb934082c5d2777bb3c7b8d78debaf5a7285ceeb2
Contents?: true
Size: 1.25 KB
Versions: 31
Compression:
Stored size: 1.25 KB
Contents
# mdJson 2.0 writer - georectified representation # History: # Stan Smith 2017-03-14 original script require 'jbuilder' require_relative 'mdJson_gridRepresentation' module ADIWG module Mdtranslator module Writers module MdJson module Georectified def self.build(hGeoRec) Jbuilder.new do |json| json.scope hGeoRec[:scope] json.gridRepresentation Grid.build(hGeoRec[:gridRepresentation]) unless hGeoRec[:gridRepresentation].empty? json.checkPointAvailable hGeoRec[:checkPointAvailable] json.checkPointDescription hGeoRec[:checkPointDescription] json.cornerPoints hGeoRec[:cornerPoints] unless hGeoRec[:cornerPoints].empty? json.centerPoint hGeoRec[:centerPoint] unless hGeoRec[:centerPoint].empty? json.pointInPixel hGeoRec[:pointInPixel] json.transformationDimensionDescription hGeoRec[:transformationDimensionDescription] json.transformationDimensionMapping hGeoRec[:transformationDimensionMapping] end end # build end # Georectified end end end end
Version data entries
31 entries across 31 versions & 1 rubygems