[Mapserver-users] Two colors in a line

Stéphane RIFF stephane.riff at cerene.fr
Mon Dec 15 05:11:46 PST 2003


And like this is it better ???

LAYER 
  NAME "roads"
  DATA "roads_shp"
  STATUS ON
  TYPE LINE
  FILTERITEM COD_ITINER
  CLASS 
  	NAME "the_roads"
    	COLOR 255 0 0		# --> red line
	SYMBOL 2
	SIZE 4
	OVERLAYOUTLINECOLOR 0 0 0	# --> black overlay
	OVERLAYSYMBOL 2
	OVERLAYSIZE 6
	OVERLAYMAXSIZE 6
  END
END



Manuel Marichal Pérez wrote:

>Hi, all.
>
>I'm trying to give two colors to a layer of type "line" (i.e: one color
>to the line and another one to the border line).
>
>I've tryed with this line, buit doen't work:
>
>LAYER 
>  NAME "roads"
>  DATA "roads_shp"
>  STATUS ON
>  TYPE LINE
>  FILTERITEM COD_ITINER
>  CLASS 
>  	NAME "the_roads"
>    	COLOR 255 0 0		# --> red line
>	SYMBOL 2
>	SIZE 4
>	OVERLAYOUTLINECOLOR 0 0 0	# --> black overlay
>	OVERLAYSYMBOL 2
>	OVERLAYSIZE 4
>	OVERLAYMAXSIZE 4
>  END
>END
>
>Any idea?
>
>Thanks in advance.
>Manuel Marichal Pérez.
>
>
>
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>
>  
>





More information about the MapServer-users mailing list