[mapserver-users] Mapfile Variables

Matt McClelland matt at wildwalks.com
Mon Jun 18 23:15:12 PDT 2012


Hi All

Is is possible create and use variables within a mapfile?
IE I want to store the colour of a road in one place, then reference that
colour in the several style tags

EG
$road_colour_inside = "255 0 0 "
then later in the style tags be able to do
color $road_colour_inside

Or something similar.

I am using v6.0

Thanks

Matt  :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120619/af7b4f4a/attachment.html>


More information about the mapserver-users mailing list