This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Line break in osmarender

0

Hello, In osmarender, if I have a long name for an area, it is written in a long line. How to do to write the name in 2 lines or more ? My idea is to do a thing like 'n' in C... Thank you very much !

asked 19 Dec '11, 22:17

hotkebab99's gravatar image

hotkebab99
1111
accept rate: 0%


One Answer:

3

You don't, I think is the short answer. When you are mapping things you map what is there, so if it has a long name then name=(the long name) is the correct tag. It is up to the different consumers of the data (such as the Mapnik and Osmarender rendering layers) how they decide to display it. If you want it rendered differently it might be worth looking at the different options available for rendering your own map (I've not managed this yet, but am often tempted).

answered 20 Dec '11, 00:16

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

edited 20 Dec '11, 13:32

Jonathan%20Bennett's gravatar image

Jonathan Ben...
8.3k1785108

Source code available on GitHub .