Hi Alison,
You can try with line breaks \n in your label text. Not sure how to colour
differently each line.
My really long label --> My \n really \long \n label
It will create a line break for every \n
rb
2011/8/23 Alison Thomson <[email protected]>
> 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.****
>
> ** **
>
> Alison****
>
> *Simplify. Automate. Integrate.*
>
> *Dotted Eyes*
> Hanbury Court, Harris Business Park, Stoke Prior, Bromsgrove, B60 4JJ, UK
>
> *Join us at seminars and exhibitions*
> View our event calendar <http://www.dottedeyes.com/events>
>
> *Data sharing simplified for staff and contractors*
> How the National Trust saved 300 man hours in 6
> weeks<http://www.dottedeyes.com/cp>
>
> *Buy support or register for training online*
> Visit our website <http://www.dottedeyes.com>
>
> ResponseMX dynamic web maps: www.dottedeyes.com/rmx
> Spatial data loading: www.dottedeyes.com/spatial
> Ready-to-use digital maps & data: www.dottedeyes.com/data
> For a sales enquiry email: [email protected]
> For technical support login to: http://dottedeyes.helpserve.com
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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