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

Missing amenity name in mapnik - bug or feature?

5

I recently added two pubs (that are in the same building) to the map and both showed up quite fast. But one got rendered without the name even though the name is there and there is place for it. Does this have some deeper meaning or is it a bug? If so - how should it be reported?

name missing

Permalink

asked 23 Jul '11, 20:34

LM_1's gravatar image

LM_1
3.3k335188
accept rate: 10%

edited 24 Jul '11, 18:39

dieterdreist's gravatar image

dieterdreist
3.7k113567


2 Answers:

5

It is not a bug. Currently mapnik (the main renderer for OSM) isn't really smart about symbols and names that are very close to each other so it will sometimes leave the name or even the symbol out if they would overlap otherwise. You can activate the osmarender layer to see the same map rendered by an alternative program which does not have this "feature" and leads in more detailed areas to overlapping names which isn't very nice, too.

answered 23 Jul '11, 20:48

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

edited 23 Jul '11, 20:51

3

This is not really a bug, but is due to mapnik limitations. Fortunately for all of us there is current work in progress to overcome these limitations. In his GoogleSummerofCode Project Hermann Kraus is doing the coding for better text placement: http://mapnik.org/news/2011/jul/13/new_text_placement_system/

answered 24 Jul '11, 18:37

dieterdreist's gravatar image

dieterdreist
3.7k113567
accept rate: 3%

Source code available on GitHub .