module ADIWG::Mdtranslator::Writers::MdJson::BoundingBox

Public Class Methods

build(hBbox) click to toggle source
# File lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_boundingBox.rb, line 16
def self.build(hBbox)

   Jbuilder.new do |json|
      json.westLongitude hBbox[:westLongitude]
      json.eastLongitude hBbox[:eastLongitude]
      json.southLatitude hBbox[:southLatitude]
      json.northLatitude hBbox[:northLatitude]
      json.minimumAltitude hBbox[:minimumAltitude]
      json.maximumAltitude hBbox[:maximumAltitude]
      json.unitsOfAltitude hBbox[:unitsOfAltitude]
   end

end