[mapserver-users] Road shields on Mapserver 7
Mark Volz
MarkVolz at co.lyon.mn.us
Fri Feb 24 09:25:07 PST 2017
Carlos and others,
I still would like to display the line for the highway class in my legend. It’s just the shield is too large for the legend so it either needs to be shrank or removed. I suppose I could cheat by adding two classes for each of my road types, but I don’t know if this is the cleanest solution. Please let me know if you have a better idea.
Thank You
CLASS # an unnamed class for the map
NAME NOTHING #This class should not be displayed in the legend
EXPRESSION ‘A10’
STYLE
…
END STYLE
LABEL
ROAD SHEILD FOR THE MAP
END LABEL
END CLASS
CLASS # A fake class for the legend
NAME ‘US HIGHWAYS’
EXPRESSION ‘999999’ #This will never show up on the map as there are no segments with a value of 999999, but it should still show up on the legend.
STYLE
…
END STYLE
LABEL
POSSIBLE TINY ROAD SHEILD FOR THE LEGEND
END LABEL
END CLASS
Sincerely,
Mark Volz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170224/8247278e/attachment.htm>
More information about the MapServer-users
mailing list