mapfile depends on the user action
Zamil Murji
Zamil.Murji at DIVESTCO.COM
Wed Aug 18 09:13:30 PDT 2004
I have had much success changing mapfiles on the fly with %variables. Read up on them in the documentation.
Zamil
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On Behalf Of Tony Jolibois
Sent: Wednesday, August 18, 2004 10:08 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] mapfile depends on the user action
Hi all,
Is there a simple way to modify the mapfile in fonction of the changes of the user interface ?
Example, here is a raster layer :
LAYER
NAME temperature
TYPE raster
STATUS OFF
DATA ' http://opendap-dev.cls.fr:8480/thredds/dodsC/mercator_psy2v1_mersea_grid1o8_nat_best_estimate?temperature[0][1][lat][lon]'
PROCESSING "SCALE=0,35"
CLASS
NAME "(< 0)"
EXPRESSION ([pixel] < 0)
COLOR 0 0 131
END
etc...
The number in bold is the time step of an aggregation. I want to allow the user to select the date of the temperature field, so I need to change the mapfile.
If you have suggestions, it would be great !
Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20040818/56b47c87/attachment.htm>
More information about the MapServer-users
mailing list