While investigating a rendering issue with a style based on Protomaps, I found that some large marine protected areas are present in the vector tiles as:
source-layer: landuse
kind: park
Two examples:
- Eastern Tropical Pacific, southwest of Costa Rica (
~5.18, -86.57)
- Cook Islands (
~-21.2, -159.8)
I confirmed this by inspecting the MVT tiles directly. At these locations, the same point is contained in both:
landuse / kind=park
water / kind=ocean
This can lead to unexpected rendering in styles that display park polygons over partially transparent water.
Marine protected areas are obviously useful map information, so simply filtering them out would not necessarily be desirable. The issue is that, with the attributes available in these tiles, a style does not seem to have a way to distinguish these marine areas from terrestrial parks.
Is kind=park the intended classification for these features?
If so, would it make sense to preserve an attribute allowing styles to distinguish marine protected areas from terrestrial parks?
I have not yet determined whether this classification originates from the source OSM tagging or from the Protomaps/Planetiler mapping rules.
The corresponding MVT tiles are attached for inspection:
costa-rica-z4-4-7.zip
cook-3-0-4.zip
Related issue
The rendering consequence was initially identified while using the Avenue style from Basemapkit:
Related downstream rendering issue:
https://github.com/jonathanlurie/basemapkit/issues/12
While investigating a rendering issue with a style based on Protomaps, I found that some large marine protected areas are present in the vector tiles as:
Two examples:
~5.18, -86.57)~-21.2, -159.8)I confirmed this by inspecting the MVT tiles directly. At these locations, the same point is contained in both:
This can lead to unexpected rendering in styles that display
parkpolygons over partially transparent water.Marine protected areas are obviously useful map information, so simply filtering them out would not necessarily be desirable. The issue is that, with the attributes available in these tiles, a style does not seem to have a way to distinguish these marine areas from terrestrial parks.
Is
kind=parkthe intended classification for these features?If so, would it make sense to preserve an attribute allowing styles to distinguish marine protected areas from terrestrial parks?
I have not yet determined whether this classification originates from the source OSM tagging or from the Protomaps/Planetiler mapping rules.
The corresponding MVT tiles are attached for inspection:
costa-rica-z4-4-7.zip
cook-3-0-4.zip
Related issue
The rendering consequence was initially identified while using the Avenue style from Basemapkit:
Related downstream rendering issue:
https://github.com/jonathanlurie/basemapkit/issues/12