[QGIS-trac] [Quantum GIS] #3149: 3D coordinates export fails with ftools

Quantum GIS qgis at qgis.org
Fri Oct 22 11:08:37 EDT 2010


#3149: 3D coordinates export fails with ftools
-------------------------------------------+--------------------------------
   Reporter:  estelle                      |              Owner:  borysiasty   
       Type:  bug                          |             Status:  new          
   Priority:  minor: annoyance             |          Milestone:  Version 1.6.0
  Component:  Python plugins and bindings  |            Version:  1.5.0        
   Keywords:  ftools                       |   Platform_version:               
   Platform:  All                          |           Must_fix:  No           
Status_info:  0                            |  
-------------------------------------------+--------------------------------
 I had some problems with a shapefile in qgis. This shape includes 3D GPS
 points. When using :
 Vector/Geometry Tools/Export-Add geometry columns (in order to get the
 coordinates), the function simpleMeasure (in doGeometry.py) returns zero.
 You can try to replace the old line:
 if inGeom.wkbType() == QGis.WKBPoint:
 by the proposed fixed line:
 if inGeom.wkbType() in (QGis.WKBPoint,QGis.WKBPoint25D):

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3149>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list