Module: Adiwg_LineString
- Defined in:
- lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_lineString.rb
Class Method Summary collapse
Class Method Details
.unpack(aCoords, geoType) ⇒ Object
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_lineString.rb', line 14 def self.unpack(aCoords, geoType) intMetadataClass = InternalMetadata.new intLine = intMetadataClass.newGeometry intLine[:geoType] = geoType intLine[:geometry] = aCoords intLine[:dimension] = Adiwg_Coordinates.getDimension(aCoords) return intLine end |