[mapserver-commits] r9573 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Dec 4 12:11:32 EST 2009
Author: assefa
Date: 2009-12-04 12:11:29 -0500 (Fri, 04 Dec 2009)
New Revision: 9573
Modified:
trunk/mapserver/mapwfs.c
Log:
WFS hits count is incorrect if the request contain 2 layers or more. Previous commit was incomplete #3244
Modified: trunk/mapserver/mapwfs.c
===================================================================
--- trunk/mapserver/mapwfs.c 2009-12-03 21:59:43 UTC (rev 9572)
+++ trunk/mapserver/mapwfs.c 2009-12-04 17:11:29 UTC (rev 9573)
@@ -1806,7 +1806,7 @@
if(maxfeatures != 0 && iResultTypeHits == 0)
msGMLWriteWFSQuery(map, stdout, maxfeatures, pszNameSpace, outputformat);
- if (((j==map->numlayers) || (maxfeatures == 0)) && iResultTypeHits == 0) {
+ if (((iNumberOfFeatures==0) || (maxfeatures == 0)) && iResultTypeHits == 0) {
msIO_printf(" <gml:boundedBy>\n");
msIO_printf(" <gml:null>missing</gml:null>\n");
msIO_printf(" </gml:boundedBy>\n");
More information about the mapserver-commits
mailing list