[QGIS-trac] Re: [Quantum GIS] #1977: spatialite layers disappear
when enabling reprojection
Quantum GIS
qgis at qgis.org
Wed Nov 11 22:40:45 EST 2009
#1977: spatialite layers disappear when enabling reprojection
-------------------------------------+--------------------------------------
Reporter: pcav | Owner: nobody
Type: bug | Status: new
Priority: minor: annoyance | Milestone: Version 1.4.0
Component: Data Provider | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: Debian
Must_fix: No | Status_info: 0
-------------------------------------+--------------------------------------
Comment (by smizuno):
I have also noticed this problem. In QgsSpatiaLiteProvider::select() near
the bottom of the function (about line 592) the valid variable is set
false on a failed database request. This may occur if the extent requested
is out of bounds for the layer's CRS.
Once valid is false the provider won't return any data.
I believe the valid variable should NOT be set false just because there is
an error in the current database request.
I believe #2047 is another manifestation of this.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1977#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