module ADIWG::Mdtranslator::Readers::Fgdc::SpatialReference
Public Class Methods
unpack(xSpatialRef, hResourceInfo, hResponseObj)
click to toggle source
# File lib/adiwg/mdtranslator/readers/fgdc/modules/module_spatialReference.rb, line 19 def self.unpack(xSpatialRef, hResourceInfo, hResponseObj) # spatial reference 4.1 (horizsys) - horizontal coordinate system xHorizontalRef = xSpatialRef.xpath('./horizsys') unless xHorizontalRef.empty? HorizontalReference.unpack(xHorizontalRef, hResourceInfo, hResponseObj) end # spatial reference 4.2 (vertdef) - vertical coordinate system xVerticalRef = xSpatialRef.xpath('./vertdef') unless xVerticalRef.empty? VerticalReference.unpack(xVerticalRef, hResourceInfo, hResponseObj) end return hResourceInfo end