[mapserver-commits] r10642 - branches/branch-5-6/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Oct 22 09:09:07 EDT 2010
Author: assefa
Date: 2010-10-22 06:09:07 -0700 (Fri, 22 Oct 2010)
New Revision: 10642
Modified:
branches/branch-5-6/mapserver/HISTORY.TXT
branches/branch-5-6/mapserver/mapows.c
Log:
correct wms 1.3.0 latlong bbox error (#2578)
Modified: branches/branch-5-6/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-5-6/mapserver/HISTORY.TXT 2010-10-22 13:05:32 UTC (rev 10641)
+++ branches/branch-5-6/mapserver/HISTORY.TXT 2010-10-22 13:09:07 UTC (rev 10642)
@@ -14,6 +14,8 @@
Current Version
---------------
+- Correct wms 1.3.0 latlong bbox error (#2578)
+
- Fix ProperyIsLike not used efficiently with Oracle (#3557)
- Fixed msOGRGetSymbolId according to the changes in gdal 1.8 (#3556)
Modified: branches/branch-5-6/mapserver/mapows.c
===================================================================
--- branches/branch-5-6/mapserver/mapows.c 2010-10-22 13:05:32 UTC (rev 10641)
+++ branches/branch-5-6/mapserver/mapows.c 2010-10-22 13:09:07 UTC (rev 10642)
@@ -1180,7 +1180,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