[QGIS-trac] [Quantum GIS] #2968: Wrong handling (shapefile) features with null geometry

Quantum GIS qgis at qgis.org
Tue Aug 24 20:43:35 EDT 2010


#2968: Wrong handling (shapefile) features with null geometry
---------------------------------------------------------+------------------
   Reporter:  borysiasty                                 |              Owner:  mhugent      
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.6.0
  Component:  Data Provider                              |            Version:               
   Keywords:                                             |   Platform_version:               
   Platform:  All                                        |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 The support for features without geometry is partial. Some problems were
 solved in r11257 / #1290 , however, it still causes serious issues. When
 exporting such layers, features without geometry are discarded, what
 should be considered as obvious data corruption.
 Furthermore, QgsDataProvider.featureAtId() crashes qgis for such features.

 Personally I never use such layers so I can't tell why people use them ;)
 but I know people do and the layers are valid Shapefiles, as ArcGIS
 creates them. Maybe the table join branch is a good opportunity to cosider
 better support for such layers?

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2968>
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