lib/adiwg/mdtranslator/writers/html/sections/html_referenceSystemParameters.rb in adiwg-mdtranslator-2.7.0 vs lib/adiwg/mdtranslator/writers/html/sections/html_referenceSystemParameters.rb in adiwg-mdtranslator-2.8.0

- old
+ new

@@ -3,11 +3,11 @@ # History: # Stan Smith 2017-10-24 original script require_relative 'html_projectionParameters' -require_relative 'html_ellipsoidParameters' +require_relative 'html_geodeticParameters' require_relative 'html_verticalDatumParameters' module ADIWG module Mdtranslator module Writers @@ -21,11 +21,11 @@ def writeHtml(hParamSet) # classes used projectionClass = Html_ProjectionParameters.new(@html) - ellipsoidClass = Html_EllipsoidParameters.new(@html) + ellipsoidClass = Html_GeodeticParameters.new(@html) verticalClass = Html_VerticalDatumParameters.new(@html) # reference parameter set - projection unless hParamSet[:projection].empty? @html.details do @@ -34,15 +34,15 @@ projectionClass.writeHtml(hParamSet[:projection]) end end end - # reference parameter set - ellipsoid - unless hParamSet[:ellipsoid].empty? + # reference parameter set - geodetic + unless hParamSet[:geodetic].empty? @html.details do - @html.summary('Ellipsoid Parameters', {'id' => 'ellipsoid', 'class' => 'h5'}) + @html.summary('Geodetic Parameters', {'id' => 'geodetic', 'class' => 'h5'}) @html.section(:class => 'block') do - ellipsoidClass.writeHtml(hParamSet[:ellipsoid]) + ellipsoidClass.writeHtml(hParamSet[:geodetic]) end end end # reference parameter set - vertical datum