[QGIS-trac] [Quantum GIS] #2178: Spatialite VIEWs give ERROR in attribute table

Quantum GIS qgis at qgis.org
Wed Dec 2 11:45:59 EST 2009


#2178: Spatialite VIEWs give ERROR in attribute table
------------------------------------------------+---------------------------
   Reporter:  Barryrowlingson                   |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.4.0
  Component:  Data Provider                     |            Version:  HEAD         
   Keywords:                                    |   Platform_version:               
   Platform:  Linux                             |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 I have a spatialite DB with tables, they work fine in Qgis.

 If I create a view:

 CREATE VIEW vmapdata AS SELECT * from mapdata

 and add a row to geometry_columns (identical to the row for table mapdata)
 then I can load the view as a layer in Qgis, and it plots it. I can use
 the query tool and get attribute values in the popup dialog but if I get
 the whole attribute table it is full of "ERROR" values.

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