mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
don't use infinite in spatialite where clauses
This commit is contained in:
parent
8269f9e717
commit
371f9ba17e
@ -223,7 +223,7 @@ QString QgsSpatiaLiteFeatureIterator::whereClauseRect()
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( P->spatialIndexRTree )
|
||||
if ( P->spatialIndexRTree && rect.isFinite() )
|
||||
{
|
||||
// using the RTree spatial index
|
||||
QString mbrFilter = QString( "xmin <= %1 AND " ).arg( qgsDoubleToString( rect.xMaximum() ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user