[mapserver-commits] r8017 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Nov 12 13:09:09 EST 2008


Author: Assefa
Date: 2008-11-12 13:09:08 -0500 (Wed, 12 Nov 2008)
New Revision: 8017

Modified:
   trunk/mapserver/mapogcsld.c
Log:
Correct PointSymbolizer stroke color that doensn't work #2546

Modified: trunk/mapserver/mapogcsld.c
===================================================================
--- trunk/mapserver/mapogcsld.c	2008-11-11 18:16:47 UTC (rev 8016)
+++ trunk/mapserver/mapogcsld.c	2008-11-12 18:09:08 UTC (rev 8017)
@@ -1338,7 +1338,7 @@
 /*                      msSLDParseGraphicFillOrStroke                   */
 /*                                                                      */
 /*      Parse the GraphicFill Or GraphicStroke node : look for a        */
-/*      Merker symbol and set the style for that symbol.                */
+/*      Marker symbol and set the style for that symbol.                */
 /************************************************************************/
 void msSLDParseGraphicFillOrStroke(CPLXMLNode *psRoot, 
                                    char *pszDashValue,
@@ -2019,11 +2019,6 @@
 	msMaybeAllocateStyle(psLayer->class[nClassId], iStyle);
         
 
-        /* set the default color */
-        psLayer->class[nClassId]->styles[iStyle]->color.red = 128;
-        psLayer->class[nClassId]->styles[iStyle]->color.green = 128;
-        psLayer->class[nClassId]->styles[iStyle]->color.blue = 128;
-
         msSLDParseGraphicFillOrStroke(psRoot, NULL,
                                       psLayer->class[nClassId]->styles[iStyle],
                                       psLayer->map, 1);



More information about the mapserver-commits mailing list