[mapserver-commits] r9651 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Sat Jan 2 15:07:53 EST 2010
Author: tamas
Date: 2010-01-02 15:07:53 -0500 (Sat, 02 Jan 2010)
New Revision: 9651
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapfile.c
Log:
Fixed writeSymbol to support writing 'ANGLE AUTO' (#3214)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2010-01-02 20:05:57 UTC (rev 9650)
+++ trunk/mapserver/HISTORY.TXT 2010-01-02 20:07:53 UTC (rev 9651)
@@ -14,6 +14,8 @@
Current Version (SVN trunk):
----------------------------
+- Fixed writeSymbol to support writing 'ANGLE AUTO' (#3214)
+
- Fixed problems with point queries not working via the CGI (mode=query or mode=nquery) (#3246)
- Support QueryByShape() with point and line geometries (#3248)
Modified: trunk/mapserver/mapfile.c
===================================================================
--- trunk/mapserver/mapfile.c 2010-01-02 20:05:57 UTC (rev 9650)
+++ trunk/mapserver/mapfile.c 2010-01-02 20:07:53 UTC (rev 9651)
@@ -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