[mapserver-commits] r9650 - branches/branch-5-6/mapserver

svn at osgeo.org svn at osgeo.org
Sat Jan 2 15:05:57 EST 2010


Author: tamas
Date: 2010-01-02 15:05:57 -0500 (Sat, 02 Jan 2010)
New Revision: 9650

Modified:
   branches/branch-5-6/mapserver/mapfile.c
Log:
Fixed writeSymbol to support writing 'ANGLE AUTO' (#3214)

Modified: branches/branch-5-6/mapserver/mapfile.c
===================================================================
--- branches/branch-5-6/mapserver/mapfile.c	2010-01-02 17:21:10 UTC (rev 9649)
+++ branches/branch-5-6/mapserver/mapfile.c	2010-01-02 20:05:57 UTC (rev 9650)
@@ -2214,6 +2214,8 @@
   fprintf(stream, "      STYLE\n");
   if(style->numbindings > 0 && style->bindings[MS_STYLE_BINDING_ANGLE].item)
      fprintf(stream, "        ANGLE [%s]\n", style->bindings[MS_STYLE_BINDING_ANGLE].item);
+  else if(style->autoangle)
+     fprintf(stream, "        ANGLE AUTO\n");
   else if(style->angle != 0) fprintf(stream, "        ANGLE %g\n", style->angle);
 
   if(style->antialias) fprintf(stream, "        ANTIALIAS TRUE\n");



More information about the mapserver-commits mailing list