[mapserver-commits] r10347 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Jul 13 19:44:36 EDT 2010
Author: assefa
Date: 2010-07-13 23:44:36 +0000 (Tue, 13 Jul 2010)
New Revision: 10347
Modified:
trunk/mapserver/mapquery.c
Log:
fix query using operator beyond #3483
Modified: trunk/mapserver/mapquery.c
===================================================================
--- trunk/mapserver/mapquery.c 2010-07-13 16:21:57 UTC (rev 10346)
+++ trunk/mapserver/mapquery.c 2010-07-13 23:44:36 UTC (rev 10347)
@@ -1672,7 +1672,10 @@
if(status != MS_SUCCESS) return(MS_FAILURE);
/* identify target shapes */
- searchrect = qshape->bounds;
+ if (map->query.op == MS_GEOS_BEYOND)
+ searchrect = map->extent;
+ else
+ searchrect = qshape->bounds;
#ifdef USE_PROJ
More information about the mapserver-commits
mailing list