On Thu, Aug 25, 2011 at 10:10 AM, Louise Bates <[email protected]> wrote: > Hi, > > > > Is it possible to split apart a label where a space occurs and replace the > space with a carriage return in an SLD file. For example the text string > would be Red Green and this should appear like this: > > > > Red > > Green > > > > We have tried to use the strReplace but with limited success. > > > > Any help on this will be very much appreciated.
http://docs.geoserver.org/latest/en/user/styling/sld-reference/labeling.html#autowrap It will work only on labels that do not follow a line. 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 ------------------------------------------------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
