[mapserver-commits] r10686 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Oct 29 13:17:24 EDT 2010
Author: rouault
Date: 2010-10-29 10:17:24 -0700 (Fri, 29 Oct 2010)
New Revision: 10686
Modified:
trunk/mapserver/mapogcsos.c
Log:
SOS server: use point index when writing a multipoint shape (#3593)
Modified: trunk/mapserver/mapogcsos.c
===================================================================
--- trunk/mapserver/mapogcsos.c 2010-10-29 16:57:30 UTC (rev 10685)
+++ trunk/mapserver/mapogcsos.c 2010-10-29 17:17:24 UTC (rev 10686)
@@ -392,7 +392,7 @@
/*add all points */
for(i=0; i<psShape->line[0].numpoints; i++)
{
- psNode = xmlAddChild(psPointNode, msGML3Point(psNsGml, pszEpsg, NULL, psShape->line[0].point[0].x, psShape->line[0].point[0].y));
+ psNode = xmlAddChild(psPointNode, msGML3Point(psNsGml, pszEpsg, NULL, psShape->line[0].point[i].x, psShape->line[0].point[i].y));
}
break;
More information about the mapserver-commits
mailing list