#12496 closed enhancement (fixed)
Verify properly tagged islands and islets
Reported by: | naoliv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.02 |
Component: | Core validator | Version: | |
Keywords: | mapcss island islet place | Cc: |
Description
http://wiki.openstreetmap.org/wiki/Key:place#Other_places says:
place=island
→ area > 1 km²
place=islet
→ area < 1 km²
area:closed[place = islet][eval(areasize()) > 1000] { throwWarning: tr("islet with wrong classification"); suggestAlternative: "place=island"; fixAdd: "place=island"; } area:closed[place = island][eval(areasize()) < 1000] { throwWarning: tr("island with wrong classification"); suggestAlternative: "place=islet"; fixAdd: "place=islet"; }
island|islet with exactly 1 km² is in limbo.
It needs a better warning message, probably.
But it needs to have #11516 fixed to also work with relations.
Is it interesting to have this test in JOSM?
Attachments (0)
Change History (8)
comment:1 by , 9 years ago
follow-up: 4 comment:3 by , 9 years ago
What about change the values to 500 and 1500?
area:closed[place = islet][eval(areasize()) > 1500] { throwWarning: tr("{0} on a large area", "{1.tag}"); suggestAlternative: "place=island"; fixAdd: "place=island"; } area:closed[place = island][eval(areasize()) < 500] { throwWarning: tr("{0} on a small area", "{1.tag}"); suggestAlternative: "place=islet"; fixAdd: "place=islet"; }
comment:4 by , 9 years ago
Keywords: | island islet place added |
---|---|
Milestone: | → 16.02 |
follow-up: 8 comment:7 by , 8 years ago
What are these 500 and 1500?? I have an islet ~7500m² that's 0.0075km² and validator is suggesting place=island
josm version 10327
comment:8 by , 8 years ago
Replying to anonymous:
What are these 500 and 1500?? I have an islet ~7500m² that's 0.0075km² and validator is suggesting place=island
josm version 10327
Ok, there is new values in 10328. I should have read all the coments.
Wiki page Tag:place=islet:
The size is only a guiding value, there should be some tolerance.