Skip to content
Permalink
Browse files

don't use infinite in spatialite where clauses

  • Loading branch information
jef-n committed Nov 11, 2013
1 parent 8269f9e commit 371f9ba17e51379f062ecc1a14b10252108e3ae0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/spatialite/qgsspatialitefeatureiterator.cpp
@@ -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() ) );

0 comments on commit 371f9ba

Please sign in to comment.
You can’t perform that action at this time.