[QGIS-trac] [Quantum GIS] #3242: Bug in postgis layer geometry type detection when a filter is applied.

Quantum GIS qgis at qgis.org
Mon Nov 22 18:41:29 EST 2010


#3242: Bug in postgis layer geometry type detection when a filter is applied.
------------------------------------------------+---------------------------
   Reporter:  jpalmer                           |              Owner:  jef          
       Type:  patch                             |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Data Provider                     |            Version:               
   Keywords:  postgis postgresql                |   Platform_version:               
   Platform:  All                               |           Must_fix:  Yes          
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 When adding a PostGIS layer and the estimated table metadata option is
 turned on, you can not apply a filter to layer and "Unknown geometry type"
 error is raised.

 The reason for this is the SQL to determine the layer geometry type was
 corrupted in r13340 (add custom query capabilities).

 This patch fixes the query.

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