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

Aperta
#631 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Ambito
data

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Java
Stelle
779
Fork
111
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di protomaps/basemaps

Tutte le issue di protomaps/basemaps

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.