Use of a varible name in TEMPLATE String

J. Parapar listario at GMAIL.COM
Thu Jan 4 10:08:09 PST 2007


Hi Dave

I am not sure about that. You can try and see. If it does not work, as
an alternative, look at "Changing map file parameters via a form or a
URL" at http://mapserver.gis.umn.edu/docs/reference/cgi/referencemanual-all-pages.
(You must set a value for TEMPLATEPATTERN in the mapfile,see
http://mapserver.gis.umn.edu/docs/reference/mapfile/referencemanual-all-pages)

Best regards.
Jorge

2007/1/4, Dave Potts <dave.potts at pinan.co.uk>:
>
> Hi Folks
>
> Is it possible to say something like this in a .map file
>
> WEB
>    TEMPLATE "../WEB-INF/post_transform_directory/en_gb/%platform%dataxml"
>    IMAGEPATH "../tmp/"
>    IMAGEURL "tmp/"
>    LOG "/tmp/map.out"
>   END
>
> Where %platform% is a varible name.
>
> regards
>
> David.
>
>
>
>



More information about the MapServer-users mailing list