Labels

luca marletta lucamarle at GMAIL.COM
Fri Jun 17 06:22:57 PDT 2005


Here an example of one of my layer. It could help for some options.
cheers
Luca

LAYER
	NAME "municipi"
	GROUP "comalo"
	TYPE POINT
	TOLERANCE 6
	STATUS ON
	DATA "/var/www/pmapper/comalo/sintesi/municipi.shp"
	METADATA
		"DESCRIPTION"   "Municipi|Municipi|Municipi"
		"RESULT_FIELDS" "COMUNE"
		"RESULT_HEADERS" "Comune|Comune|Comune"
		"LEGENDICON"    "symbols/cat-small.gif"
	END
	CLASSITEM "comune"
	LABELITEM "comune"
	CLASS
		NAME "Municipi"
		STYLE
			SYMBOL "symbols/cat-small.gif"
			#SYMBOL "circle"
			#COLOR 255 85 0
			#SIZE 5
		END 
		TEMPLATE void
		LABEL
			COLOR 255 90 35
			TYPE TRUETYPE
			FONT arial_black
			SIZE 10
			ANTIALIAS TRUE
			POSITION auto
			PARTIALS FALSE
			MINDISTANCE 5
			BUFFER 4
		END # end of label
	END
END



More information about the MapServer-users mailing list