0

I'm completely new to GeoServer.

In desktop GIS I can use CHAR(13) in views on SQL Server to make GIS interpret a carriage return, when I visualize a label.

Is this possible using GeoServer?

As I understand it there are possibilities directly on GeoServer, but I would like GeoServer as a default to interpret CHAR(13) delivered from SQL Server as a carriage return i.e. without having to meddle with GeoServer, as I do not have access to this particular GeoServer instance, and hence I'm forced to try to solve the problem directly on SQL Server.

1 Answer 1

1

This is due to the way XML handles white space as they are all treated as a single space. You need to provide a cdata block containing the return char to pass it through to the renderer unchanged.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.