[Mapserver-users] SYMBOLOGY USING MAPSERVER

Flavio Hendry flavio at tydac.ch
Wed Jun 30 07:09:13 PDT 2004


Hi Swapan

as follows:

- CLASSITEM "NAME" is the column name in your shape
- EXPRESSION "Abbau- und Deponiezone" is the content in the column

LAYER
	NAME "Zonenplan"
	TYPE POLYGON
	MINSCALE 0
	MAXSCALE 1000000
	SYMBOLSCALE 1000
	STATUS ON
	CLASSITEM "NAME"
	DATA "raumplanung/Zonenplan"
		CLASS
			NAME "Abbau- und Deponiezone"
			EXPRESSION "Abbau- und Deponiezone"
			COLOR 187 77 98
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			NAME "Campingzone"
			EXPRESSION "Campingzone"
			COLOR 175 154 121
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Dorfkernzone"
			COLOR 192 100 72
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Dorfzone"
			COLOR 194 160 80
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Freihaltezone"
			COLOR 0 255 0
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Gewerbezone"
			COLOR 255 255 192
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Landwirtschaftszone"
			COLOR 194 254 194
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Touristikzone"
			COLOR 240 230 140
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "übriges gemeindegebiet"
			COLOR 255 255 255
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Waldzone"
			COLOR 181 247 181
			SYMBOL 'circle_empty'
			SIZE 24
			MINSIZE 4
			MAXSIZE 26
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Wohn- Gewerbezone"
			COLOR 237 168 243
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Wohnzone 1"
			COLOR 255 255 0
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Wohnzone 2"
			COLOR 254 172 0
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Zone für öffentl. Anlagen"
			COLOR 210 210 210
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
		CLASS
			EXPRESSION "Zone für öffentl. Bauten u. Anlagen"
			COLOR 165 165 165
			OUTLINECOLOR 0 0 0
			TEMPLATE ttt.htm
		END
END


Mit freundlichem Gruss / Best Regards
Flavio Hendry

----------------------------------------------------------------
TYDAC NEWS http://www.tydac.ch/german/index.php?menu=News_actual
----------------------------------------------------------------
############      Mit freundlichen Gruessen / Kind Regards
############             mailto:flavio at tydac.ch
############         TYDAC AG - http://www.tydac.ch
####    ####        Geographic Information Solutions
####    ####         Luternauweg 12 -- CH-3006 Bern
############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
----------------------------------------------------------------


-----Original Message-----
From: "Swapan Mazumdar" <swapan at dataworld.co.za>
To: <mapserver-users at lists.gis.umn.edu>
Date: Wed, 30 Jun 2004 14:37:55 +0200
Subject: [Mapserver-users] SYMBOLOGY USING MAPSERVER

> Hi 
> 
> Greetings,
> 
>  
> 
> I want to create SYMBOLOGY for a layer based on a shape file field,
> similar to the feature provided by ESRI ArcView for UNIQUE VALUE on
> LEGEND.
> 
> Is it possible to create similar symbology in MAP file. Any quick
> help
> will be appreciated, it is kind of very urgent.
> 
>  
> 
> Regards,
> 
> Swapan Mazumdar
> 
> Dataworld Pty Ltd, South Africa
> 
> 





More information about the MapServer-users mailing list