[Geoserver-users] SLD textsymbolizer problem

Hi everyone,

I have a problem with the display of graphics with the textsymbolizer tag in SLDs - it doesn't work in my case.

As far as I understood, I can add a graphic tag to the textsymbolizer to add a graphic to a label (http://docs.geoserver.org/latest/en/user/styling/sld-reference/textsymbolizer.html) Apparently, the graphics tag is ignored...- can anyone give me a valid example of the sequence of tags? Do I need any special vendoroption or something?

Cheers,
Chris

--
Dipl.-Geoinf. Christoph Wosniok

Bundesanstalt für Wasserbau
Dienststelle Hamburg
Wedeler Landstr 157
22559 Hamburg
Germany

+49 (0)40 / 81 908 - 352

Hi Christoph

Here’s an example we use to label OSM roads with highway shields:

osm_line 0 48000 ref RijksoverheidSansText bold 10 0.5 0.5 #000000 image/svg+xml yes 200 200

The VendorOptions used in this example are to control the repetition of highway shields along the centre lines.

Regards,

Edward

Date: Wed, 20 Feb 2013 16:22:35 +0100
From: Christoph.Wosniok@anonymised.com
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] SLD textsymbolizer problem

Hi everyone,

I have a problem with the display of graphics with the textsymbolizer tag in SLDs - it doesn’t work in my case.

As far as I understood, I can add a graphic tag to the textsymbolizer to add a graphic to a label (http://docs.geoserver.org/latest/en/user/styling/sld-reference/textsymbolizer.html) Apparently, the graphics tag is ignored…- can anyone give me a valid example of the sequence of tags? Do I need any special vendoroption or something?

Cheers,
Chris


Dipl.-Geoinf. Christoph Wosniok

Bundesanstalt für Wasserbau
Dienststelle Hamburg
Wedeler Landstr 157
22559 Hamburg
Germany

+49 (0)40 / 81 908 - 352


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users