Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent naming and presence of disputed border attribute #190

Open
dnomadb opened this issue Dec 13, 2023 · 0 comments
Open

Inconsistent naming and presence of disputed border attribute #190

dnomadb opened this issue Dec 13, 2023 · 0 comments

Comments

@dnomadb
Copy link

dnomadb commented Dec 13, 2023

Location
Map here: https://felt.com/map/Disputed-Border-Examples-DeV2O4NyRky9Apwpz9Cjd0WD?loc=36.445,-290.359,5.33z&share=1

There is inconsistent naming and presence of disputed border attributes -- the disputed attribute only exists from zoom 0 to 7, and is boolean from zooms 0-5 and numeric in zooms 6 + 7:

$ for zoom in {15..0}; do vt2geojson https://basemap.felt.com/tiles/planet-20231030a/$(echo '[75.13606532, 34.65216745]' | mercantile tiles $zoom | xt).mvt | jq -c --arg zoom $zoom '{zoom: $zoom, disputed_values: [.features[] | select(.properties.disputed != null) | .properties.disputed] | sort | unique}'; done
{"zoom":"15","disputed_values":[]}
{"zoom":"14","disputed_values":[]}
{"zoom":"13","disputed_values":[]}
{"zoom":"12","disputed_values":[]}
{"zoom":"11","disputed_values":[]}
{"zoom":"10","disputed_values":[]}
{"zoom":"9","disputed_values":[]}
{"zoom":"8","disputed_values":[]}
{"zoom":"7","disputed_values":[1]}
{"zoom":"6","disputed_values":[1]}
{"zoom":"5","disputed_values":[true]}
{"zoom":"4","disputed_values":[true]}
{"zoom":"3","disputed_values":[true]}
{"zoom":"2","disputed_values":[true]}
{"zoom":"1","disputed_values":[true]}
{"zoom":"0","disputed_values":[true]}

Required information

  • Tileset version: ostensibly v3.0.0-pre1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant