tippecanoe icon indicating copy to clipboard operation
tippecanoe copied to clipboard

Precision of between vector tiles and geojson

Open zhp7260 opened this issue 2 years ago • 3 comments
trafficstars

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

zhp7260 avatar Jan 29 '23 03:01 zhp7260

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 https://github.com/felt/tippecanoe/pull/60.

e-n-f avatar Jan 29 '23 07:01 e-n-f

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?

adlzanchetta avatar Feb 25 '23 17:02 adlzanchetta

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.

e-n-f avatar Feb 26 '23 04:02 e-n-f