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

Improve how we handle vector tiled polygons and lines #1080

Open
bhousel opened this issue Aug 31, 2023 · 0 comments
Open

Improve how we handle vector tiled polygons and lines #1080

bhousel opened this issue Aug 31, 2023 · 0 comments

Comments

@bhousel
Copy link
Contributor

bhousel commented Aug 31, 2023

Followup from the recent PMTiles / Vector Tiles work: #1016

  • There are still bugs with stitching linestrings and polygons.
  • We should probably not do a separate geometry cache per zoom, but rather replace low zoom geometry with high zoom geometry where the tiles are covered

Repeatable example of this is to load Mapbox Streets and check out corner of Collingswood Park

Template URL:
https://api.mapbox.com/v4/mapbox.mapbox-streets-v8/{z}/{x}/{y}.vector.pbf?sku=101HdzJcCmxpq&access_token=TOKEN

Map:
map=18.93/49.23716/-123.03534

Screenshot 2023-08-09 at 3 10 24 PM

(This happens because the park spans several tile boundaries, so it needs to merge several times.)

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