Hi, I thought that Geoserver could support SVG as an outputformat for GetLegendGraphic but I could not get a result.
http://localhost:8080/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/svg%2Bxml&WIDTH=20&HEIGHT=20&LAYER=topp:states Error: <ServiceException code="InvalidFormat"> Invalid graphic format: image/svg+xml -Jukka Rahkonen- Lähettäjä: Shashi Verma <shashiv...@gmail.com> Lähetetty: keskiviikko 8. syyskuuta 2021 15.10 Vastaanottaja: GeoServer Users <geoserver-users@lists.sourceforge.net> Aihe: [Geoserver-users] Regarding showing text information in SVG format Dear Group Members, Is there any solution in GeoServer to show text information of layer in SVG format if so pls help me it's very urgent for me. For instance, this is the example of MapServer which is given below:- <?xml version="1.0" standalone="no"?> <svg width="10cm" height="3cm" viewBox="0 0 1000 300" xmlns="http://www.w3.org/2000/svg" version="1.1"> <text x="250" y="180" font-family="Verdana" font-size="64" fill="blue" > Hello, out there! </text> </svg> Note:- I want to give the same text information in response which is in red color using GeoServer. Kidly see that attached jpg file, the text is visible on the map I want to provide these texts in network response. Thanks in advance
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users