followup r14150

git-svn-id: http://svn.osgeo.org/qgis/trunk@14151 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2010-08-26 18:57:36 +00:00
parent 7840204ac8
commit ae6ad4ee1f

View File

@ -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();
}