You might want to set MINSCALEDENOM and MAXSCALEDENOM of the LAYER refer to the mapfile documentation for the deatails:<br><a href="http://www.mapserver.org/mapfile/layer.html">http://www.mapserver.org/mapfile/layer.html</a><br>
<br>Best regards,<br><br>Tamas<br><br><br><br><div class="gmail_quote">2009/4/5 meenu <span dir="ltr">&lt;<a href="mailto:meenu.monu@gmail.com">meenu.monu@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
hi can anybody help to set the visibility of a layer based on zoom extends..the mapscript for the particular layer i added here as follows...<br>
<br>
LAYER<br>
   NAME &quot;n_towns&quot;<br>
   TYPE POINT<br>
   CONNECTIONTYPE OGR<br>
   CONNECTION &quot;n_towns.TAB&quot;<br>
   STATUS ON<br>
   LABELITEM &quot;NAME&quot;<br>
   CLASS<br>
  SIZE 10<br>
    STYLE<br>
      COLOR 100 100 100<br>
      OUTLINECOLOR 0 0 0<br>
      SYMBOL &quot;circle&quot;<br>
        END<br>
        LABEL<br>
        COLOR 100 100 100<br>
        FONT arial<br>
        TYPE TRUETYPE<br>
        SIZE 7<br>
        POSITION LC<br>
        WRAP &quot; &quot;<br>
        END<br>
        END<br>
END<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://n2.nabble.com/visibility-of-the-layer-based-on-zoom-extends-tp2588503p2588503.html" target="_blank">http://n2.nabble.com/visibility-of-the-layer-based-on-zoom-extends-tp2588503p2588503.html</a><br>

Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</font></blockquote></div><br>