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

Island label not rendered right when island is represented as a way #2404

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: Vid the Kid
[Submitted to the original trac issue database at 2.43pm, Wednesday, 28th October 2009]

example: [http://www.openstreetmap.org/?lat=39.38512&lon=-83.89296&zoom=16&layers=B000FTF]

The way's "name" is rendered along its outline. But the way is closed, and tagged place=island, so the renderer should understand that it's an area without an area=yes tag.

Ideally, the label should be formatted exactly as if the island were represented with a single node. (The same ideal holds for other features that can be mapped as single nodes or as ways/multipolygons, though many don't...)

@openstreetmap-trac
Copy link
Author

Author: chriscf
[Added to the original trac issue at 7.02pm, Monday, 21st December 2009]

Must be a data error of some sort. See any nuber of islands rendered correctly here: http://www.openstreetmap.org/?lat=51.7093&lon=-5.2714&zoom=12&layers=B000FTF

@openstreetmap-trac
Copy link
Author

Author: chriscf
[Added to the original trac issue at 7.07pm, Monday, 21st December 2009]

Island was missing natural=coastline. Not a rendering bug.

@openstreetmap-trac
Copy link
Author

Author: Vid the Kid
[Added to the original trac issue at 10.12pm, Thursday, 7th April 2011]

I think the bug was misunderstood. It's about label rendering, not rendering of the island itself. Besides, why should a tiny island require coastline tagging when it's in a lake that doesn't use coastline tagging? That is to say, if looking at coastline tagging alone, the whole area is land, so making a coastline way for the island would be redundant.

I've made a (almost certainly unrelated) change to the manner in which the reservoir is tagged. Perhaps now the island itself will appear. But if the label is still rendered incorrectly, I'm going to reopen this ticket. A closed way tagged with place=island should have a label that looks identical to that rendered for a node of the same tagging.

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 10.22pm, Thursday, 7th April 2011]

Replying to [comment:3 Vid the Kid]:

A closed way tagged with place=island should have a label that looks identical to that rendered for a node of the same tagging.

Only 'if' you add area=yes (currently[*1])

Your island now shows since you added a natural=* (natural=land) tag to it. That also forces it to be seen as an area. You don't need to add natural=land when it's an inner of a water multipolygon. natural=land also has the disadvantage that it will hide any other landuse that you map on the island. As such, with multipolygons, natural=land can be considered deprecated.

1) I've set place= to be seen as a polygon candidate by itself. This will only go into effect at the next full db reload. After that, area=yes will no longer be required for place=* (for the mapnik map, that is).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant