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

Precision of between vector tiles and geojson #965

Open
zhp7260 opened this issue Jan 29, 2023 · 3 comments
Open

Precision of between vector tiles and geojson #965

zhp7260 opened this issue Jan 29, 2023 · 3 comments

Comments

@zhp7260
Copy link

zhp7260 commented Jan 29, 2023

I used tippecanoe to generate the vector tiles based on OSM road layer, but there is an offset between vector tiles in mbtiles and geojson displayed in QGIS at 1:50 or larger scale.
So my first question is: Is this because of floating point operations?

1:50
image

1:25
image

1:12
image

@e-n-f
Copy link
Contributor

e-n-f commented Jan 29, 2023

If everything is consistently above and to the left of where it should be, this is probably the rounding-vs-truncation problem that I just fixed in felt/tippecanoe#60.

@adlzanchetta
Copy link

If everything is consistently above and to the left of where it should be, this is probably the rounding-vs-truncation problem that I just fixed in felt/tippecanoe#60.

@e-n-f I found this repository (Mapbox's) following some tutorials, but it seems that this one is discontinued and the current active repo of the project is the one in Felt's account. Is this correct?

@e-n-f
Copy link
Contributor

e-n-f commented Feb 26, 2023

No one has been maintaining the Mapbox Tippecanoe repo for the last few years. I now work at Felt rather than Mapbox and am actively maintaining https://github.com/felt/tippecanoe.

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

3 participants