Opened 8 years ago

Closed 5 years ago

#4100 closed defect (duplicate)

[amenity-points] Priority of captions

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

Description

In the centre of this map

http://www.openstreetmap.org/?lat=52.21402&lon=0.09524&zoom=15&layers=M

you can see "Gardener's Cottage". This is a completely insignificant little building in the middle of a major site of the University of Cambridge called "Madingley Rise". But you have to zoom right in to max before you see that important caption: http://www.openstreetmap.org/?lat=52.214342&lon=0.094425&zoom=18&layers=M

This is just an example. There are numerous other examples even in Cambridge (the ones I'm most concerned about are University sites and colleges not being rendered in favour of some comparatively trivial building or other feature within the site or college).

I suspect the caption collision is preferring the trivial over the significant here. Is it random which it chooses? I think it should use some metric: e.g. the larger of the two areas, larger of the bounding boxes of the two areas, the one with most constituent segments, or total segment length or something like that to give a heuristic for which is probably the more important caption.

I imagine you would favour city over suburb when those two clash, but there you've got some clues in the tagging. But the principle is the same "larger is more important" for some definition of larger.

Change History (3)

comment:1 Changed 8 years ago by David Earl

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

comment:2 Changed 5 years ago by math1985

Summary: Priority of captions[amenity-points] Priority of captions

comment:3 Changed 5 years ago by math1985

Resolution: duplicate
Status: newclosed

This issue is now being discussed on Github: https://github.com/gravitystorm/openstreetmap-carto/issues/852

Therefore, I will close the issue here.

Note: See TracTickets for help on using tickets.