<html>
  <head>

  </head>
  <body style="font-variant: normal; line-height: normal; margin-left: 4px; margin-right: 4px; margin-bottom: 1px; margin-top: 4px">
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">All&#44;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">Is this doable&#63;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">Was wondering about a mechanism to turn a DEFAULT layer off via CGI&#44; something like &quot;layers&#61;-centerlines&quot;&#44; where the negative sign &#40; - &#41; would be used to indicate that a default layer should NOT be drawn for a CGI request.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">In short terms&#44; could adding a negative sign &#40; - &#41; to the front of a layer name to NOT draw that layer be easily implemented in the CGI calls&#63;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">WARNING: &nbsp;If the above is possible&#44; the next question would be to get a list of the layers that are available in a MAPFILE &#40;like GetCapabilities&#41; for drawing. &nbsp;And don&#39;t say use WMS&#44; otherwise you should get rid of the LEGEND generation in MapServer too&#44; since that can be done via WMS as well. &nbsp;:c&#41; &nbsp;&nbsp;I also have an inkling that having the ability to poll the mapfile for the layers available might be an interesting capability to add in that would allow for some interesting user GUI elements to be built around.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">---------</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">Here is my use case &#40;if needed&#41;:</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">Say I have a centerline file of a street network for a map&#44; and then add in a Aerial photo background&#44; I want to turn the centerlines off&#44; but keep the labels as an overlay. &nbsp;Both the centerlines and the labels are on by default at the mapfile.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">Thanks</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">bobb</font>    </p>
<br>      <br>
  </body>
</html>