I've run into a glitch with the migration project I am working on. The map
has a legend that is generated dynamically from population data. The .map
file contains a layer that defines the key for the legend. Here's an
example:
CLASS
NAME "xx"
EXPRESSION "xx"
COLOR 100 200 100
OUTLINECOLOR 0 0 0
END # CLASS
There are url parameters defined in a perl script that contain the string
for the NAME and EXPRESSION. Those parameters no longer work, like the
dynamic shapepath I asked about a few days ago. I thought that perhaps I
could pass the parameters in a similar manner:
CLASS
NAME '%map_theme_class_1_name%'
EXPRESSION '%map_theme_class_1_expression%'
COLOR 200 250 200
OUTLINECOLOR 0 0 0
END # CLASS
But the legend just displays the string "%map_theme_class_1_name%" instead
of the value bound by that parameter. Any clues on how to proceed?
Ethan
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users