[QGIS-trac] Re: [Quantum GIS] #3030: Query Builder in Properties produces "Query Failed"

Quantum GIS qgis at qgis.org
Tue Sep 21 15:40:39 EDT 2010


#3030: Query Builder in Properties produces "Query Failed"
-----------------------------------------------------+----------------------
        Reporter:  alobo                             |         Owner:  jef          
            Type:  bug                               |        Status:  reopened     
        Priority:  major: does not work as expected  |     Milestone:  Version 1.6.0
       Component:  Vectors                           |       Version:  1.5.0        
      Resolution:                                    |      Keywords:               
Platform_version:  ubuntu 9.10                       |      Platform:  Debian       
        Must_fix:  Yes                               |   Status_info:  0            
-----------------------------------------------------+----------------------

Comment(by jef):

 Replying to [comment:3 alobo]:
 > Furthermore, both ID=12 and "ID"='12' work from Attribute Table/Advanced
 Search

 Sure.  The Query Builder produces valid expressions for search strings,
 but not necessarily valid expressions for (all) the providers.

 BTW {{{"ID"='2'}}} also works here for a shape file.   Do you get any
 output on the terminal?  Which OGR version are you using?  Also please
 include a shape file that isn't queryable for you.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3030#comment:4>
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