Polygon style with outline width

Luca Manganelli luca76 at GMAIL.COM
Mon Nov 5 04:31:31 PST 2007


Hi,

I would like to know if there's any way to assign a style for a
polygon with these attributes:

- FILL COLOR: cyan
- OUTLINE COLOR: blue
- OUTLINE WIDTH: 3 pixel

I can do to it in this way, with two layers for same shp:

	LAYER
                 [...CUT...]
		TYPE POLYGON                 # FOR FILL COLOR
		CLASS
			NAME "FILL"
			STYLE
				COLOR 197 227 252
				OUTLINECOLOR 0 0 255
				SIZE 8
			END
		END
	END

	LAYER
                [...CUT...]
		TYPE LINE                  # FOR OUTLINE COLOR AND WIDTH
		CLASS
			NAME "OUTLINE"
			SIZE 3
			STYLE
				SYMBOL 'circle'
				COLOR 0 0 255
			END
		END
	END


Is possible to do it with one single LAYER ?



More information about the MapServer-users mailing list