This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Rendering of protected areas

2
1

Seems like there is a serious issue with rendering of protected areas. I often see people tagging various protected areas as "boundary=national park" even if those areas are not national parks but are of lower protection level, because they simply want the areas to render. I made some research on rendering of "boundary=protected area" with various "protect id" and "protection class" and found out some of those do not render at all (even at max zoom levels). It seems mapnik setting does not even follow Protected Area Rendering#Protected Areas wiki page... while the setting proposed on this page could use some tweaks too. Where should I start trying to sort this out?

asked 25 Feb '12, 20:38

Kozuch's gravatar image

Kozuch
1.7k587285
accept rate: 8%


One Answer:

2

"Where should I start trying to sort this out?". I think locally. Make some test renderings and tweak your rules until you are satisfied.

The page you are linking to contains rendering rules for the Kosmos rendering engine, they have to be modified to work with mapnik (this is not a big deal, but it's worth to point it out).

When you come to a point where you are satisfied with your rendering rules and respective zoom factors, open a ticket in trac, component mapnik, and paste your patch. I think that this has a good chance to get implemented in the near future (because usage of boundary=protected_area is recently growing rapidly. Some time ago when I last checked for it on taginfo it wasn't yet used a lot.).

answered 26 Feb '12, 12:24

dieterdreist's gravatar image

dieterdreist
3.7k113567
accept rate: 3%

Source code available on GitHub .