[QGIS-trac] Re: [Quantum GIS] #1290: Shapefile attribute tables do not show lines with null geometry

Quantum GIS qgis at qgis.org
Thu Jul 16 12:40:48 EDT 2009


#1290: Shapefile attribute tables do not show lines with null geometry
-----------------------------------------------------+----------------------
        Reporter:  gabrimonfa                        |         Owner:  nobody                  
            Type:  bug                               |        Status:  new                     
        Priority:  major: does not work as expected  |     Milestone:  Version 1.0.3           
       Component:  OGR Layer support                 |       Version:  HEAD                    
      Resolution:                                    |      Keywords:  shapefile, null geometry
Platform_version:                                    |      Platform:  Unix                    
        Must_fix:  No                                |   Status_info:  0                       
-----------------------------------------------------+----------------------
Comment (by gabrimonfa):

 Sometimes it happens to receive shapefiles with null features, but valid
 scalar data.
 Sometimes the geometry is null by mistake and this, for example, may cause
 errors manipulating such features (i.e. importing or visualizing them).

 So it would be useful to be able to inspect this features with qgis and
 see if the problem is caused by incorrect scalar data in the dbf or
 something else (corrupted uploaded file for example).

 IMHO it is not an oddities to have a null geometry, it is not a "non-
 geometric" data.
 AFAIK it is explicitly allowed by shapefile format to have null-
 geometries.
 A null geometry is a perfectly legal geometry. Why this should prevent to
 inspect scalar data?

 I think that the fact that dbf values related to null geometries are not
 shown is yet a bug, even if a minor one.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1290#comment:6>
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