<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">List,<br>
I am trying to substitute DATA parameter in my mapfile with a call from Openlayers as follow:<br>
<br>
map_layer[OMI_CP]=DATA+OMI-Aura_L3-OMCLDRRclpWMSNRT_"+ amsreDate + ".png" <br>
<br>
The mapfile is:<br>
<br>
LAYER <br>
NAME "OMI_CP" <br>
TYPE RASTER <br>
STATUS DEFAULT<br>
OFFSITE 0 0 0<br>
PROJECTION<br>
"init=epsg:4326" <br>
END<br>
DATA "OMI-Aura_L3-OMCLDRRclpWMSNRT_20110922.png"<br>
VALIDATION<br>
'DATA' '^OMI_.*\.png$'<br>
END<br>
<br>
The call should change the date part (20110922) of the png filename but it is not doing it. Can anyone point to what I am doing wrong here?<br>
<br>
Thanks,<br>
<br>
Asad <br>
</div>
</body>
</html>