On Wed, Oct 31, 2012 at 4:07 PM, Ákos Maróy <[email protected]> wrote:
> Hi,
>
> I wonder if it is possible to create line-like text labels for a polygon?
>
> What I want to have is a text label for a polygon that follows the edge
> line of the polygon. Pretty much as if it would follow a line.
>
> I tried to achieve this by specifying
> <LabelPlacement><LinePlacement/></LabelPlacement> inside the
> <TextSymbolizer> element, but to no avail. I also tried to add a
> <LineSymbolizer> element in front of the <TextSymbolizer>, but that
> didn't work either :(
>
> Is there a way to do achieve the above?

Try using geometry transformations and extract the boundary of the polygon

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

------------------------------------------------------------------------------
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_sfd2d_oct
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to