Opened 9 years ago

Closed 6 years ago

#2947 closed defect (fixed)

Mapnik: Address displayed when name is available

Reported by: NobodysNightmare Owned by: mapnik-team@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: mapnik Cc:


Hello. In my town there are 2 schools (nodes) that are identically tagged (means they got the same tags with different content). But only one gets displayed on the map with its name, the other one is displayed as "housenumber".

For your reference:

Change History (5)

comment:1 Changed 9 years ago by NobodysNightmare

Component: adminmapnik
Owner: changed from Tom Hughes to mapnik-team@…

comment:2 Changed 9 years ago by Tom Hughes

I suspect what has happened is that the name couldn't be displayed (because it would clash with the road name) so there was then space for it to display the number.

In the other case there was space for the name so then when it came to display the number it couldn't because the name was in the way.

comment:3 Changed 9 years ago by NobodysNightmare

The question is if it is a bug or a feature. I guess I would prefer a name to be displayed, maybe with a small offset to fit.

comment:4 Changed 9 years ago by Ldp

TomH is correct.

comment:5 Changed 6 years ago by julianladisch

Resolution: fixed
Status: newclosed

Mapnik now renders "Oberschule J.H.A. Duncker" as name and not as housenumber:

Mapnik now renders "Förderschule J.H. Pestalozzi" as name and not as housenumber:

Problem is solved. (Might be a result of font size and/or line wrapping.)

Note: See TracTickets for help on using tickets.