Skip to content
This repository was archived by the owner on Jul 24, 2021. It is now read-only.
This repository was archived by the owner on Jul 24, 2021. It is now read-only.

[amenity-points] use type=label relations in mapnik #3110

Description

@openstreetmap-trac

Reporter: Oli-Wan
[Submitted to the original trac issue database at 12.58pm, Tuesday, 6th July 2010]

Sometimes mapnik's placement algorithm for labels (names, icons, etc.) on areas (or buildings, etc.) is not quite optimal, especially for somewhat exotically-shaped areas.

osmarender allows for the type=label relation to specify the location the label should be placed. I believe this is a very good thing, so I suggest that the relation should be used by mapnik as well. (See http://wiki.openstreetmap.org/wiki/Relations/Proposed/Label for details about the type=label relation.)

This issue is loosely related to #1534 (area label positioning) http://trac.openstreetmap.org/ticket/1534 . But while #1534 concerns extending the placement algorithm itself to check for holes in multipolygons etc., here I suggest an explicit override to be specified in the map. I am not aware of any other way to specify such an override, but if it already exists (please give me a hint!), maybe the corresponding routine could be extended to check for type=label relations as well.

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions