Yes, please provide the solution if any I'm finding for solution from last two week.
On Wed, 8 Sep 2021, 6:47 pm Rahkonen Jukka (MML), < jukka.rahko...@maanmittauslaitos.fi> wrote: > Hi, > > > > I apologize, obviously I understood wrong what you were looking for by “show > text information of layer in SVG format”. I thought you would like to get > some metadata about the layer, perhaps a legend, so I was testing with > GetLegendGraphic, not with GetMap. > > > > -Jukka Rahkonen- > > > > *Lähettäjä:* Shashi Verma <shashiv...@gmail.com> > *Lähetetty:* keskiviikko 8. syyskuuta 2021 15.53 > *Vastaanottaja:* Rahkonen Jukka (MML) <jukka.rahko...@maanmittauslaitos.fi > > > *Kopio:* GeoServer Users <geoserver-users@lists.sourceforge.net> > *Aihe:* Re: [Geoserver-users] Regarding showing text information in SVG > format > > > > @rohkonen Jukka > > Kindly check using these steps:- Layer Preview ->USA Population->Select > One->SVG > > I'm getting results using this in geoserver2.17.2 > > > > > http://localhost:8080/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp%3Astates&bbox=-124.73142200000001%2C24.955967%2C-66.969849%2C49.371735&width=768&height=330&srs=EPSG%3A4326&format=image%2Fsvg%20xml > > > > Then check Response in network. You will find the same result as I sent > you in the previous email. > > > > On Wed, Sep 8, 2021 at 6:08 PM Rahkonen Jukka (MML) < > jukka.rahko...@maanmittauslaitos.fi> wrote: > > 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