[QGIS Commit] r14152 - trunk/qgis/src/providers/postgres

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Aug 26 15:00:02 EDT 2010


Author: jef
Date: 2010-08-26 19:00:02 +0000 (Thu, 26 Aug 2010)
New Revision: 14152

Modified:
   trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp
Log:
followup r14150 again

Modified: trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp
===================================================================
--- trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp	2010-08-26 18:57:36 UTC (rev 14151)
+++ trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp	2010-08-26 19:00:02 UTC (rev 14152)
@@ -2846,7 +2846,7 @@
             // dateline extent() returns -180 to 180 (which appears right), but
             // estimated_extent() returns eastern bound of data (>-180) and
             // 180 degrees.
-            if ( !ext.startsWith( "180 ") && ext.contains( ",180 " ) )
+            if ( !ext.startsWith( "-180 ") && ext.contains( ",180 " ) )
             {
               ext.clear();
             }



More information about the QGIS-commit mailing list