On Thu, May 5, 2011 at 9:14 AM, Sveen Atle Frenvik (Geomatikk IKT) <[email protected]> wrote: > Hello list! > > Sorry if this question has been asked before, but I couldn't find any > posts dealing with this question. > > My question is this: is it possible to render a text on top of a "box" > using sld? Kinda like a highway shield, but just a plain, > single-colored, rectangle-shaped box with a border that corresponds to > the with of the text. > > See the attached image for an example of what i mean (the image is > rendered in esri-world)
It is possible via a custom extension to SLD that we have, and only if you use GeoServer 2.1. See my FOSS4G 2010 presentation slides, towards the end of the presentation, it talks about road plates, but if your plate is the well known mark "square" you'll get what you're looking for: http://2010.foss4g.org/presentations_show.php?id=3588 Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
