Skip to content
Permalink
Browse files
followup r14150
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14151 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 26, 2010
1 parent a97fbec commit 44852ca292911e14470304850030c7df6d60692d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -2846,7 +2846,7 @@ QgsRectangle QgsPostgresProvider::extent()
// dateline extent() returns -180 to 180 (which appears right), but
// estimated_extent() returns eastern bound of data (>-180) and
// 180 degrees.
if ( ext.contains( ",180 " ) )
if ( !ext.startsWith( "180 ") && ext.contains( ",180 " ) )
{
ext.clear();
}

0 comments on commit 44852ca

Please sign in to comment.