protomaps / protomaps/basemaps

Marine protected areas classified as `landuse / kind=park`

Open
#631 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
740
Forks
104
Avg merge
26m
Merged PRs (30d)
2

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the attached MVT tiles at the Eastern Tropical Pacific and Cook Islands examples, then trace whether the landuse/park classification comes from OSM tagging or the Protomaps/Planetiler mapping rules. Determine whether marine protected areas should remain classified as parks and whether an attribute can distinguish them from terrestrial parks; the issue is done when that behavior and any required change are decided.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.