Layer failed to draw

Emil Zegers taatuut at PLANET.NL
Thu Jan 19 06:22:30 PST 2006


Hello Erik,

What TYPE is your LAYER Verblijfsobjecten? In the mapfile POINT is 
declared is this correct? And the 'SYMBOLSCALE 10000'.

If you can provide more (debug) info (do you get an error when trying 
to draw this layer) it might be easier to solve your problem.

If you want a layer to be always drawn, use STATUS DEFAULT. When using 
STATUS ON it will only bedrawn when requested.

regards,

Emil

----- Oorspronkelijk bericht -----
Van: "Ruiter E. de (Erik)" <E.Ruiter at ARCADIS.NL>
Datum: donderdag, januari 19, 2006 2:53 pm
Onderwerp: [UMN_MAPSERVER-USERS] Layer failed to draw

> Hi list,
> 
> When I try to draw my Oracle layer 'Verblijfobjecten' from mapfile 
> belowit doesn't work! However layer 'Gebouwen' does work.
> 
> Anyone any idea how to solve this?
> 
> Thanks in advance.
> 
> Greetings,
> 
> Erik de Ruiter.
> 
> P.s. STATUS ON or OFF doesn't make a difference!
> 
> 
> 
> #------------------------------------------------------------------
> -----
> ----------
> # 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   	"symbols/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        	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 
> 
> END



More information about the MapServer-users mailing list