[mapserver-commits] r7910 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Sep 16 11:20:46 EDT 2008
Author: aboudreault
Date: 2008-09-16 11:20:45 -0400 (Tue, 16 Sep 2008)
New Revision: 7910
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapogcfilter.c
trunk/mapserver/mapogr.cpp
Log:
Fixed bug: GetFeature query through tileindex layer doesn't return correct
information
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2008-09-11 21:22:52 UTC (rev 7909)
+++ trunk/mapserver/HISTORY.TXT 2008-09-16 15:20:45 UTC (rev 7910)
@@ -12,6 +12,9 @@
Current Version (5.3-dev, SVN trunk):
------------------------------------
+- Fixed GetFeature through tileindex bug: the tileindex of the shape found
+ wasn't set properly in the resultcache object. (#2359)
+
- Removed comma to correct WCS 1.1 Coverages formatting in payload directory.
(#2764)
Modified: trunk/mapserver/mapogcfilter.c
===================================================================
--- trunk/mapserver/mapogcfilter.c 2008-09-11 21:22:52 UTC (rev 7909)
+++ trunk/mapserver/mapogcfilter.c 2008-09-16 15:20:45 UTC (rev 7910)
@@ -603,7 +603,7 @@
else
nClassIndex = msShapeGetClass(psLayer, &shape, map->scaledenom, NULL, 0);
- addResult(psLayer->resultcache, nClassIndex, anValues[i], -1);
+ addResult(psLayer->resultcache, nClassIndex, anValues[i], shape.tileindex);
#ifdef USE_PROJ
if(psLayer->project && msProjectionsDiffer(&(psLayer->projection),
Modified: trunk/mapserver/mapogr.cpp
===================================================================
--- trunk/mapserver/mapogr.cpp 2008-09-11 21:22:52 UTC (rev 7909)
+++ trunk/mapserver/mapogr.cpp 2008-09-16 15:20:45 UTC (rev 7910)
@@ -1393,6 +1393,7 @@
}
shape->index = OGR_F_GetFID( hFeature );
+ shape->tileindex = psInfo->nTileId;
// Keep ref. to last feature read in case we need style info.
if (psInfo->hLastFeature)
More information about the mapserver-commits
mailing list