[mapserver-users] Re: WMS w/SLD - Can I get rid of the labels returned with a GetLegendGraphic request?
myOpenLayersUName
joanne.mcgraw at SYMPATICO.CA
Fri Mar 11 08:05:24 PST 2011
Another one bites the dust....I guess this one isn't possible as asked
either.
I did want to let any future readers know what we have done to address this
is create a "legend generator" (for lack of a better term) web service that
uses a getStyles request for a given layer, parses the SLD and generates
image files representing each rule. Then, it builds a JSON object with all
the details to build the legend presentation in whatever client calls it
(including the paths to the legend icons). The client can decide if it wants
to display the text that goes with a given legend icon itself.
Cheers all,
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-w-SLD-Can-I-get-rid-of-the-labels-returned-with-a-GetLegendGraphic-request-tp6146719p6161941.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list