[mapserver-users] Status - On - Off - Default

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Sep 9 06:13:18 EDT 2009


Hi,
 
I do not know anything about OpenLayers exept that such a thing exists.
But if you are quering your mapserver cgi directly you should include
&layers=250 in request. In WMS calls the keyword is "LAYERS".
 
Interesting, by the way, that for cgi there are keywords "layer" and
"layers". &layer=250 works for one layer, but &layer=250 260 does not
work.  Logical, yes, "layer" is singular.  Perhaps unlogical but good is
that "layers" works both for one or several layers.
 
-Jukka Rahkonen-
 
________________________________

Paul Curran  wrote: 


	Thanks for the reponse. However I am bit confused.
	
	So does the following need to be added to my Mapserv.exe URL?
E.g.
	
	@LAYER [250]
	
	to call my 250 layer?
	
	
________________________________

	Subject: Re: [mapserver-users] Status - On - Off - Default
	Date: Wed, 9 Sep 2009 11:21:08 +0300
	From: Jukka.Rahkonen at mmmtike.fi
	To: paul_everton at hotmail.com; mapserver-users at lists.osgeo.org
	
	
	Hi,
	 
	If some layer is set to "On" it means actually something like
"Available". The layer does not come for you automatically but you need
to ask for it.  It is an usefull feature that makes is possible to
toggle layer visibility. For cgi it is documented in the LAYERS
paragraph here: http://mapserver.org/cgi/controls.html
	 
	-Jukka Rahkonen


________________________________

		Paul Curran  wrote:
		
		Hi,
		
		if I set the status of my layer to Default I can view
the layer fine via Cgi/mapserv.exe? and my front end openlayers.
		
		However when it is set to On, I just have a White blank
screen via mapserv.exe and error messages through openlayers.
		
		Does anyone know where I am going wrong?
		
		Thanks for any help in advance
		
		
________________________________

		New! Receive and respond to mail from other email
accounts from within Hotmail Find out how.
<http://clk.atdmt.com/UKM/go/167688463/direct/01/>  


________________________________

	View your other email accounts from your Hotmail inbox. Add them
now. <http://clk.atdmt.com/UKM/go/167688463/direct/01/>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090909/71d29bf0/attachment.html


More information about the mapserver-users mailing list