From: Andrea A. <and...@ge...> - 2012-10-31 15:26:15
|
On Wed, Oct 31, 2012 at 4:07 PM, Ákos Maróy <ak...@ma...> 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 ------------------------------------------------------- |