<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>.hmmessage P {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>
<META content="MSHTML 6.00.2900.3603" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=751545909-09092009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=751545909-09092009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=751545909-09092009>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. <FONT face=Arial
color=#0000ff><SPAN class=751545909-09092009>In WMS calls the keyword is
"LAYERS".</SPAN></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=751545909-09092009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=751545909-09092009>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.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=751545909-09092009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=751545909-09092009>-Jukka Rahkonen-</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=751545909-09092009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma>Paul Curran <SPAN
class=751545909-09092009><FONT face=Arial
color=#0000ff> wrote: </FONT></SPAN><BR></FONT></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>Thanks for the reponse. However I am bit confused.<BR><BR>So does
the following need to be added to my Mapserv.exe URL? E.g.<BR><BR>@LAYER
[250]<BR><BR>to call my 250 layer?<BR><BR>
<HR>
Subject: Re: [mapserver-users] Status - On - Off - Default<BR>Date: Wed, 9 Sep
2009 11:21:08 +0300<BR>From: Jukka.Rahkonen@mmmtike.fi<BR>To:
paul_everton@hotmail.com; mapserver-users@lists.osgeo.org<BR><BR>
<STYLE>.ExternalClass .EC_hmmessage P {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.ExternalClass BODY.EC_hmmessage {
FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=EC_656311408-09092009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=EC_656311408-09092009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=EC_656311408-09092009>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: <A href="http://mapserver.org/cgi/controls.html"
target=_blank>http://mapserver.org/cgi/controls.html</A></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=EC_656311408-09092009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN
class=EC_656311408-09092009>-Jukka Rahkonen</SPAN></FONT></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=EC_OutlookMessageHeader lang=fi dir=ltr align=left>
<HR>
<FONT face=Tahoma>Paul Curran<SPAN class=EC_656311408-09092009><FONT
face=Arial color=#0000ff> wrote:</FONT></SPAN></FONT><BR></DIV>
<DIV></DIV>Hi,<BR><BR>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.<BR><BR>However when it is set to On, I just have a White blank
screen via mapserv.exe and error messages through openlayers.<BR><BR>Does
anyone know where I am going wrong?<BR><BR>Thanks for any help in
advance<BR><BR>
<HR>
New! Receive and respond to mail from other email accounts from within
Hotmail <A href="http://clk.atdmt.com/UKM/go/167688463/direct/01/"
target=_blank>Find out how.</A> </BLOCKQUOTE><BR>
<HR>
View your other email accounts from your Hotmail inbox. <A
href="http://clk.atdmt.com/UKM/go/167688463/direct/01/" target=_new>Add them
now.</A> </BLOCKQUOTE></BODY></HTML>