[mapserver-users] Re: WMS w/SLD - Can I get rid of the labels
returned with a GetLegendGraphic request?
joanne.mcgraw at SYMPATICO.CA
Fri Mar 11 11:05:24 EST 2011
Another one bites the dust....I guess this one isn't possible as asked
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.
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