lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_spatialReference.rb in adiwg-mdtranslator-2.3.5 vs lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_spatialReference.rb in adiwg-mdtranslator-2.4.0

- old
+ new

@@ -4,10 +4,11 @@ # Stan Smith 2017-03-11 refactored for mdJson/mdTranslator 2.0 # Josh Bradley original script require 'jbuilder' require_relative 'mdJson_identifier' +require_relative 'mdJson_spatialReferenceParameters' module ADIWG module Mdtranslator module Writers module MdJson @@ -17,9 +18,10 @@ def self.build(hSystem) Jbuilder.new do |json| json.referenceSystemType hSystem[:systemType] json.referenceSystemIdentifier Identifier.build(hSystem[:systemIdentifier]) unless hSystem[:systemIdentifier].empty? + json.referenceSystemParameterSet SpatialReferenceParameters.build(hSystem[:systemParameterSet]) unless hSystem[:systemParameterSet].empty? end end # build end # SpatialReference