19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# File 'lib/adiwg/mdtranslator/readers/fgdc/modules/module_spatialReference.rb', line 19
def self.unpack(xSpatialRef, hResourceInfo, hResponseObj)
xHorizontalRef = xSpatialRef.xpath('./horizsys')
unless xHorizontalRef.empty?
HorizontalReference.unpack(xHorizontalRef, hResourceInfo, hResponseObj)
end
xVerticalRef = xSpatialRef.xpath('./vertdef')
unless xVerticalRef.empty?
VerticalReference.unpack(xVerticalRef, hResourceInfo, hResponseObj)
end
return hResourceInfo
end
|