Layer order

Ruiter E. de (Erik) E.Ruiter at ARCADIS.NL
Tue Jan 24 04:00:29 EST 2006


Hi list,

I've a small problem with my mapfile..

I want to have the layer 'verblijfsobjecten' always on top. When I place
the layer at the end of my mapfile I get this error:
msWMSLoadGetMapParams(): Invalid layer(s) given in the LAYERS parameter.

When I have the layer like in my mapfile below it does work but the
layer is not on top....

Anyone can help me with this?

Greets,

Erik.


#-----------------------------------------------------------------------
----------
# MAPFILE Spinoffice
#-----------------------------------------------------------------------
----------

#============ MAIN MAP
===========================================================

MAP 
	NAME		"Spinoffice"
	SIZE		400 200
	EXTENT	123161.184000 425974.862000 130445.273000 430555.785000
	IMAGECOLOR	255 255 255
	IMAGETYPE	png
	SHAPEPATH	"shapes"
	SYMBOLSET   "symbols35.sym"
WEB 
	TEMPLATE	"../html/mapserver.html"
	IMAGEPATH 	'/ms4w/tmp/ms_tmp/'
	IMAGEURL  	'/ms_tmp/'
END

PROJECTION
	"init=epsg:28992"
END


#============ LAYERS
=======================================================

LAYER 
	NAME		Gebouwen
	TYPE		POLYGON
	STATUS		ON
	CONNECTIONTYPE	oraclespatial
	CONNECTION	"bag/bag at maatwerk"
	DATA		"N0320 FROM GEBOUW USING SRID 90112"
	PROCESSING 	"CLOSE_CONNECTION=DEFER"
	PROJECTION
		"init=epsg:28992"
	END
	CLASS
		NAME 	"gebouw"
		SIZE		1
		STYLE
			COLOR 		255 0 0
			OUTLINECOLOR 	32 32 32
		END
	END
END
LAYER
	NAME	GBKG
	TYPE	LINE
	STATUS	OFF
	DATA	gbkg_l
	PROJECTION
		"init=epsg:28992"
	END
	CLASS
		NAME	"gbkg"
		STYLE
			COLOR 		190 190 190
			OUTLINECOLOR 	190 190 190
		END
 	END
END

LAYER
	NAME	Buurten
	TYPE	LINE
	STATUS	OFF
	DATA	buurten
	PROJECTION
		"init=epsg:28992"
	END
	CLASS
		NAME	"buurten"
		STYLE
			COLOR 		0 0 0
			OUTLINECOLOR 	100 100 100
		END
 	END
END

LAYER
	NAME	Wegvakken
	TYPE	LINE
	STATUS	OFF
	DATA	wegvakken
	PROJECTION
		"init=epsg:28992"
	END
	CLASS
		NAME	"wegvakken"
		STYLE
			COLOR 		190 190 190
			OUTLINECOLOR 	100 100 100
		END
 	END
END

LAYER 
	NAME		Verblijfsobjecten
	TYPE		POINT
	STATUS		ON
	CONNECTIONTYPE	oraclespatial
	CONNECTION	"bag/bag at maatwerk"
	DATA		"A5620 FROM VERBLIJFSOBJECT USING SRID 90112"
	PROCESSING 	"CLOSE_CONNECTION=DEFER"
	PROJECTION
		"init=epsg:28992"
	END
	SYMBOLSCALE 10000	
CLASS
		NAME 	"verblijfsobject"
		STYLE
			SYMBOL	"circle"
			COLOR 		0 0 0
			OUTLINECOLOR 	32 32 32
			# SIZE 	7
			MAXSIZE		20
			MINSIZE		1
		END
	END
END 

LAYER 
	NAME		Ligplaatsen
	TYPE		POINT
	STATUS		OFF
	CONNECTIONTYPE	oraclespatial
	CONNECTION	"bag/bag at maatwerk"
	DATA		"A5820 FROM LIGPLAATS"
PROJECTION
		"init=epsg:28992"
	END		
CLASS
		NAME 	"ligplaats"
		SIZE		1
		STYLE
			COLOR 		0 0 255
			OUTLINECOLOR 	32 32 32
		END
	END
END 

LAYER 
	NAME		Panden
	TYPE		POLYGON
	STATUS		OFF
	CONNECTIONTYPE	oraclespatial
	CONNECTION	"bag/bag at maatwerk"
	DATA		"A5520 FROM PAND USING SRID 90112"
	PROCESSING 	"CLOSE_CONNECTION=DEFER"
	CLASS
		NAME 	"pand"
		SIZE		1

			COLOR 		255 100 100
			OUTLINECOLOR 	32 32 32
		END
	END
END 

END


[DISCLAIMER]

Dit e-mail bericht is vertrouwelijk. Het is uitsluitend bestemd voor de geadresseerde. 
Indien u niet de geadresseerde bent, verzoeken we u dringend ons direct te informeren en om dit bericht en eventuele bijlage(n) te verwijderen, zonder het te kopieren, door te zenden of op enige andere wijze te openbaren of te gebruiken. ARCADIS is niet aansprakelijk voor welke schade dan ook als gevolg van communicatie per e-mail en verzending van documenten en gegevens.

This e-mail is confidential and may also be privileged. It is intended for use by the addressee only. 
If you are not the intended addressee, we request that you notify us immediately and delete this e-mail, and any attachment(s), without copying, forwarding, disclosing or using it in any other way. ARCADIS will not be liable for damage relating to the communication by e-mail of data or documents.



More information about the mapserver-users mailing list