[mapserver-commits] r8656 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Sat Mar 7 14:56:55 EST 2009
Author: dmorissette
Date: 2009-03-07 14:56:55 -0500 (Sat, 07 Mar 2009)
New Revision: 8656
Modified:
trunk/mapserver/mapwfslayer.c
Log:
Reproject bbox before call to whichshapes (#2885)
Modified: trunk/mapserver/mapwfslayer.c
===================================================================
--- trunk/mapserver/mapwfslayer.c 2009-03-07 19:54:50 UTC (rev 8655)
+++ trunk/mapserver/mapwfslayer.c 2009-03-07 19:56:55 UTC (rev 8656)
@@ -832,6 +832,11 @@
/* way we work with layers right now the bbox is unlikely to change */
/* between now and the time whichshapes() would have been called by */
/* the MapServer core. */
+#ifdef USE_PROJ
+ if((lp->map->projection.numargs > 0) && (lp->projection.numargs > 0))
+ msProjectRect(&lp->map->projection, &lp->projection, &psInfo->rect); /* project the searchrect to source coords */
+#endif
+
if (msWFSLayerWhichShapes(lp, psInfo->rect) == MS_FAILURE)
status = MS_FAILURE;
More information about the mapserver-commits
mailing list