module ADIWG::Mdtranslator::Readers::Fgdc::MapGridOther

Public Class Methods

unpack(other, hProjection) click to toggle source
# File lib/adiwg/mdtranslator/readers/fgdc/modules/gridSystems/grid_other.rb, line 17
def self.unpack(other, hProjection)

   # grid system 4.1.2.2.6 (othergrd) - other coordinate system {text}
   # -> ReferenceSystemParameters.projection.gridIdentifier.description

   hProjectionId = hProjection[:projectionIdentifier]
   hGridSystemId = hProjection[:gridIdentifier]

   hGridSystemId[:identifier] = 'other'
   hGridSystemId[:name] = 'Other Grid Coordinate System' if hGridSystemId[:name].nil?
   hGridSystemId[:description] = other

   hProjectionId[:identifier] = 'other'
   hProjectionId[:name] = 'Other Projection'
   hProjectionId[:description] = 'for description see grid system description'

   return hProjection

end