[mapserver-users] Point Data

Steve Lime steve.lime at dnr.state.mn.us
Fri Jun 7 02:20:20 EDT 2002


Assuming you're using the CGI version you *MUST* explicitly turn layers on using the layer or layers form variables if layers are not given a STATUS DEFAULT in the map file. The CGI application automatically turns all non-DEFAULT layers off when fired.

You have 3 options:

  - add a control to the web app to allow the user to toggle that layer
  - set STATUS DEFAULT
  - add a hidden variable like <input type="hidden" name="layer" value="MACPERCH">

If you're not using the CGI version then we need more information to help solve the problem.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> "Simon Kirkness" <Simon.Kirkness at fisheries.nsw.gov.au> 06/06/02 21:24 PM >>>
Hi all, 

I have managed to taylor the demo to display layers of interest and am
trying to display point data. 

The layer will display when set on default but when is set to on or off
will not appear. 

LAYER
  NAME MACPERCH
  TYPE POINT
  DATA MACPERCH
  STATUS ON
  CLASS
    NAME 'MACPERCH'
    COLOR 128 255 164
    SYMBOL 'CIRCLE'
    SIZE 7
  END  

  TOLERANCE 5  

  END
END

Any help would be appreciated

Regards


<">< <">< <">< <">< <">< <">< <">< <">< <">< <">< <">< <"><

Simon Kirkness
NSW Fisheries 
Project Officer 
Threatened Species 
Port Stephens Fisheries Centre

Ph: (02) 4916 3810
Fax: (02) 4916 3880

Email: kirkness at fisheries.nsw.gov.au

Note: This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient,
please
delete it and notify the sender.  Views expressed in this message are
those
of the individual sender, and are not necessarily the views of NSW
Fisheries.





More information about the mapserver-users mailing list