[mapserver-commits] r7840 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Jul 30 14:42:20 EDT 2008


Author: Assefa
Date: 2008-07-30 14:42:19 -0400 (Wed, 30 Jul 2008)
New Revision: 7840

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapogcsld.c
Log:
when creating well known symbols on the fly the pen-up value used should be -99

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2008-07-30 18:30:27 UTC (rev 7839)
+++ trunk/mapserver/HISTORY.TXT	2008-07-30 18:42:19 UTC (rev 7840)
@@ -12,6 +12,9 @@
 Current Version (5.3-dev, SVN trunk):
 ------------------------------------
 
+- SLD: when creating well known symbols on the fly the pen-up value
+  used should be -99.
+
 - SWF: Button names reflects the layer id and shape id (#2691)
 
 - Support reading projection parameter for OGC filters (#2712)

Modified: trunk/mapserver/mapogcsld.c
===================================================================
--- trunk/mapserver/mapogcsld.c	2008-07-30 18:30:27 UTC (rev 7839)
+++ trunk/mapserver/mapogcsld.c	2008-07-30 18:42:19 UTC (rev 7840)
@@ -1869,8 +1869,8 @@
             psSymbol->points[psSymbol->numpoints].x = 0.5;
             psSymbol->points[psSymbol->numpoints].y = 1;
             psSymbol->numpoints++;
-            psSymbol->points[psSymbol->numpoints].x = -1;
-            psSymbol->points[psSymbol->numpoints].y = -1;
+            psSymbol->points[psSymbol->numpoints].x = -99;
+            psSymbol->points[psSymbol->numpoints].y = -99;
             psSymbol->numpoints++;
             psSymbol->points[psSymbol->numpoints].x = 0;
             psSymbol->points[psSymbol->numpoints].y = 0.5;
@@ -1896,8 +1896,8 @@
             psSymbol->points[psSymbol->numpoints].x = 1;
             psSymbol->points[psSymbol->numpoints].y = 1;
             psSymbol->numpoints++;
-            psSymbol->points[psSymbol->numpoints].x = -1;
-            psSymbol->points[psSymbol->numpoints].y = -1;
+            psSymbol->points[psSymbol->numpoints].x = -99;
+            psSymbol->points[psSymbol->numpoints].y = -99;
             psSymbol->numpoints++;
             psSymbol->points[psSymbol->numpoints].x = 0;
             psSymbol->points[psSymbol->numpoints].y = 1;



More information about the mapserver-commits mailing list