We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 7840204 commit ae6ad4eCopy full SHA for ae6ad4e
src/providers/postgres/qgspostgresprovider.cpp
@@ -2846,7 +2846,7 @@ QgsRectangle QgsPostgresProvider::extent()
2846
// dateline extent() returns -180 to 180 (which appears right), but
2847
// estimated_extent() returns eastern bound of data (>-180) and
2848
// 180 degrees.
2849
- if ( ext.contains( ",180 " ) )
+ if ( !ext.startsWith( "180 ") && ext.contains( ",180 " ) )
2850
{
2851
ext.clear();
2852
}
0 commit comments