<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><SPAN class=406511216-18082004><FONT face=Arial color=#0000ff size=2>I have
had much success changing mapfiles on the fly with %variables. Read up on them
in the documentation.</FONT></SPAN></DIV>
<DIV><SPAN class=406511216-18082004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=406511216-18082004><FONT face=Arial color=#0000ff
size=2>Zamil</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer Users List
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU]<B>On Behalf Of </B>Tony
Jolibois<BR><B>Sent:</B> Wednesday, August 18, 2004 10:08 AM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] mapfile
depends on the user action<BR><BR></FONT></DIV>
Hi all,<BR><BR>Is there a simple way to
modify the mapfile in fonction of the changes of the user interface
?<BR>Example, here is a raster layer :<BR><BR><SMALL><FONT
face="Courier New, Courier, monospace">LAYER<BR> NAME
temperature<BR> TYPE raster<BR> STATUS OFF<BR> DATA '<A
class=moz-txt-link-freetext
href="http://opendap-dev.cls.fr:8480/thredds/dodsC/mercator_psy2v1_mersea_grid1o8_nat_best_estimate?temperature">http://opendap-dev.cls.fr:8480/thredds/dodsC/mercator_psy2v1_mersea_grid1o8_nat_best_estimate?temperature</A><B>[0]</B>[1][lat][lon]'<BR>
PROCESSING
"SCALE=0,35"<BR>
<BR>CLASS<BR> NAME "(<
0)"<BR> EXPRESSION ([pixel] <
0)<BR> COLOR 0
0 131<BR>END<BR>etc...<BR><BR></FONT></SMALL>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.<BR><BR>If you have
suggestions, it would be great !<BR><BR>Tony<BR></BLOCKQUOTE></BODY></HTML>