Hi everyone, here's a newbie question:<br><br>I'm using mapserver with ka-map and I have different layers in a unique mapfile. I want to set ONE of this layers always visible, without possibility to turn off (deactivate) it. For this purpose I thought the STATUS tag on this LAYER was the solution: Status DEFAULT to turn on this layer permanently... but it didn't work.<br>
<br>This is the code of the always-turn-on layer:<br><br>LAYER <br> NAME "ambits"<br> METADATA<br> "DESCRIPTION" "Ámbitos catalanes"<br> END<br> GROUP "BASE"<br>
TYPE LINE<br> STATUS DEFAULT<br> CONNECTIONTYPE postgis<br> CONNECTION "host=*** dbname=*** user=*** password=*** port=5432 options='-c client_encoding=LATIN1'"<br> DATA "the_geom from car_aft_line"<br>
CLASS<br> NAME 'Ambits'<br> COLOR 143 143 143<br> END<br> END<br><br>With this code I can turn on/turn off this layer... so what's the problem? (the other layers seems to behave properly well)<br>
<br>Thanks a lot!<br clear="all"><br>-- <br>Emilio