[mapserver-commits] r8112 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Nov 25 18:27:32 EST 2008


Author: sdlime
Date: 2008-11-25 18:27:32 -0500 (Tue, 25 Nov 2008)
New Revision: 8112

Modified:
   trunk/mapserver/maptemplate.c
Log:
Added vars to handle inner/outer rings for shpxy tag, still need to implement.

Modified: trunk/mapserver/maptemplate.c
===================================================================
--- trunk/mapserver/maptemplate.c	2008-11-25 22:41:42 UTC (rev 8111)
+++ trunk/mapserver/maptemplate.c	2008-11-25 23:27:32 UTC (rev 8112)
@@ -1419,7 +1419,11 @@
   char *xh="", *xf=",";
   char *yh="", *yf="";
   char *cs=" "; /* coordinate */
-  char *ph="", *pf="", *ps=" "; /* part */
+
+  char *ph="", *pf="", *ps=" "; /* part: works for multi-point/multi-linestring and simple polygons */
+  char *irh="", *irf="", *irs=""; /* inner ring: necessary for complex polygons */
+  char *orh="", *orf="", *ors=""; /* outer ring */
+
   char *sh="", *sf=""; /* shape */
 
   int centroid=MS_FALSE; /* output just the centroid */



More information about the mapserver-commits mailing list