Sha256: f9ee519713c9b2d624e1ea741345491acc9bb80446d35941e8c881150c5e8d7d
Contents?: true
Size: 1.25 KB
Versions: 1
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.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] json.scope hGeoRec[:scope] end end # build end # Georectified end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
adiwg-mdtranslator-2.18.0rc1 | lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_georectifiedRepresentation.rb |