openstreetmap / iD

🆔 The easy-to-use OpenStreetMap editor in JavaScript.
https://www.openstreetmap.org/edit?editor=id
ISC License
3.38k stars 1.21k forks source link

Preset and rendering for boundary=protected_area #10176

Open road-runner-osm opened 8 months ago

road-runner-osm commented 8 months ago

Description

boundary=protected_area was introduced to indicate nature conservation areas. It is rendered on Mapnik, but in iD (as in JOSM) it is not defined or displayed by a preset.

The relationship between boundary=protected_area and leisure_nature=reserve is unclear and is also not clear when reading the wiki pages. In practice, both are often used together. Unfortunately the explanations differ also depending on the language of the wiki page. See also https://wiki.openstreetmap.org/wiki/Talk:Tag:leisure%3Dnature_reserve#leisure=nature_reserve_vs._boundary=protected_area

However, if a preset would be created, boundary=protected_area could be better used (for protected areas, as intended). In iD it could be named "Conservation Area" or "Protected Area".

Screenshots

No response

ZeLonewolf commented 8 months ago

There isn't a strong distinction between these tags. The nature reserve tag is often used with the protected area tag because the protected area tag doesn't render by itself in osm-carto.

DujaOSM commented 7 months ago

Something weird goes on in Carto: this protected_area (without leisure=nature_reserve) is rendered just fine, while this one is not. The former is just a closed way and the latter a relation, but I don't think this matters. (There are a few other invalid multipolygons in that area, which may affect rendering of so large entity).

iD currently supports boundary=protected_area as a subtype of boundary relation, but it does not have a preset for closed ways. I would argue that protected areas are better off that way, i.e. only as relations, but the practice (and Wiki) says otherwise.

road-runner-osm commented 1 month ago

because the protected area tag doesn't render by itself in osm-carto.

That's not true. It renders both.

Something weird goes on in Carto: this protected_area (without leisure=nature_reserve) is rendered just fine, while this one is not.

Yes that's weird. I tried it out, it doesn't matter if it's a relation or a way. Does it render if you add leisure=nature_reserve?

ZeLonewolf commented 1 month ago

It's not weird at all. leisure=nature_reserve renders. boundary=protected_area plus certain values of protect_class renders.