[Geoserver-devel] GEOS-1281

I am not quite sure this is what I want, as I would like to have long country names with line breaks, that are drawn from a GetFeatureRequest. I can gimp something up though, of what I would like it to look like. Basically, the problem is, that the label collision engine is quite prickly, and difficult to control. I am still experimenting with it, to try and get the desired results, but having line breaks in would be quite useful. I have tried putting in \n line breaks in the database, but that did not seem to work. Thanks for the tip, and I will try and do some experimentation.

On 8/14/07, Farber, Saul (EEA) <Saul.Farber@anonymised.com> wrote:

So I checked, and it looks like manual line-breaks in labels are working ok.

If one puts a real line-break in one’s title, or if one uses a ‘\n’ character sequence, then the line breaks appear as expected. Like so:

My\nTitle\nWith Some Line Breaks ...

What is not implemented is manual justification where the text is ‘flowed’ into a container and wraps appropriately to make the labels fit inside a smaller space. If that’s what’s desired, then we should leave that bug open and describe more specifically what is expected…maybe even with some gimped pictures?

–saul