Sha256: cb494fa3d67d0aafc1fd4ae4f8f10f804afb6e02a227c6e8339152e515498945
Contents?: true
Size: 1.1 KB
Versions: 11
Compression:
Stored size: 1.1 KB
Contents
# mdJson 2.0 writer - spatial reference system ellipsoid parameters # History: # Stan Smith 2017-10-24 original script require 'jbuilder' require_relative 'mdJson_identifier' module ADIWG module Mdtranslator module Writers module MdJson module GeodeticParameters def self.build(hGeodetic) Jbuilder.new do |json| json.datumIdentifier Identifier.build(hGeodetic[:datumIdentifier]) unless hGeodetic[:datumIdentifier].empty? json.datumName hGeodetic[:datumName] json.ellipsoidIdentifier Identifier.build(hGeodetic[:ellipsoidIdentifier]) unless hGeodetic[:ellipsoidIdentifier].empty? json.ellipsoidName hGeodetic[:ellipsoidName] json.semiMajorAxis hGeodetic[:semiMajorAxis] json.axisUnits hGeodetic[:axisUnits] json.denominatorOfFlatteningRatio hGeodetic[:denominatorOfFlatteningRatio] end end # build end # EllipsoidParameters end end end end
Version data entries
11 entries across 11 versions & 1 rubygems