Feature request #15811

Ability to return WMS GetLegendGraphic response in SVG format

Added by Nikolay Lebedev about 4 years ago. Updated almost 2 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:QGIS Server
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:23731

Description

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.

History

#1 Updated by Giovanni Manghi over 3 years ago

  • Easy fix? set to No

#2 Updated by Regis Haubourg almost 2 years ago

  • Description updated (diff)

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

Also available in: Atom PDF