Feature request #15811

Ability to return WMS GetLegendGraphic response in SVG format

Added by Nikolay Lebedev over 7 years ago. Updated about 5 years ago.

Category:QGIS Server
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:23731


For now QGIS Server returns GetLegendGraphic in jpeg or png formats. That's not great when using it in responsive webapps:
1. Screen resolutions differ and raster response doesn't scale well.
2. Can't use raster text well in html elements.
3. You have to issue a request for each layer if you want to get legend for each one separately. That's not great when you have a lot of layers in your project.

MapServer has implementation of SVG output, not sure about GeoServer. Could be great to have it in QGIS.


#1 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No

#2 Updated by Regis Haubourg about 5 years ago

  • Description updated (diff)

+1 that would be awesome ! (two years later)

Also available in: Atom PDF