We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a4ab6b commit 98d43eaCopy full SHA for 98d43ea
src/core/qgsspatialindex.cpp
@@ -186,8 +186,8 @@ class QgsSpatialIndexData : public QSharedData
186
initTree();
187
188
// copy R-tree data one by one (is there a faster way??)
189
- double low[] = { DBL_MIN, DBL_MIN };
190
- double high[] = { DBL_MAX, DBL_MAX };
+ double low[] = { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::lowest() };
+ double high[] = { std::numeric_limits<double>::max(), std::numeric_limits<double>::max() };
191
SpatialIndex::Region query( low, high, 2 );
192
QgsSpatialIndexCopyVisitor visitor( mRTree );
193
other.mRTree->intersectsWithQuery( query, visitor );
0 commit comments