[mapserver-commits] r10641 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Oct 22 09:05:32 EDT 2010


Author: assefa
Date: 2010-10-22 06:05:32 -0700 (Fri, 22 Oct 2010)
New Revision: 10641

Modified:
   trunk/mapserver/mapows.c
Log:
correct wms 1.3.0 latlong bbox error (#2578)

Modified: trunk/mapserver/mapows.c
===================================================================
--- trunk/mapserver/mapows.c	2010-10-22 02:43:40 UTC (rev 10640)
+++ trunk/mapserver/mapows.c	2010-10-22 13:05:32 UTC (rev 10641)
@@ -1186,7 +1186,11 @@
 
   /* always project to lat long */
   if (srcproj->numargs > 0 && !pj_is_latlong(srcproj->proj)) {
-      msProjectRect(srcproj, NULL, &ext);
+    projectionObj wgs84;
+    msInitProjection(&wgs84);
+    msLoadProjectionString(&wgs84, "+proj=longlat +datum=WGS84");
+    msProjectRect(srcproj, &wgs84, &ext);
+    msFreeProjection(&wgs84);
   }
   
 



More information about the mapserver-commits mailing list