[mapserver-users] Parameter substitution problem
Asad Ullah
Asad.Ullah at sigmaspace.com
Thu Sep 22 07:47:25 PDT 2011
List,
I am trying to substitute DATA parameter in my mapfile with a call from Openlayers as follow:
map_layer[OMI_CP]=DATA+OMI-Aura_L3-OMCLDRRclpWMSNRT_"+ amsreDate + ".png"
The mapfile is:
LAYER
NAME "OMI_CP"
TYPE RASTER
STATUS DEFAULT
OFFSITE 0 0 0
PROJECTION
"init=epsg:4326"
END
DATA "OMI-Aura_L3-OMCLDRRclpWMSNRT_20110922.png"
VALIDATION
'DATA' '^OMI_.*\.png$'
END
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?
Thanks,
Asad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110922/ab2258d6/attachment.htm>
More information about the MapServer-users
mailing list