[Mapserver-users] Two colors in a line

Manuel Marichal Pérez marichalperez at yahoo.es
Mon Dec 15 07:44:52 EST 2003


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.







More information about the mapserver-users mailing list