mapbox / mapbox/tippecanoe

Precision of between vector tiles and geojson

Open
#965 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.1k
Forks
430
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/1845823/215303330-7da45879-9e7a-4699-bba7-e7be04f0d050.png)

**1:25**
![image](https://user-images.githubusercontent.com/1845823/215303344-362eb893-a6e2-476b-93d9-bd6de2637bd9.png)

**1:12**
![image](https://user-images.githubusercontent.com/1845823/215303357-856b698d-ed07-4a2f-8260-54eed5a471dc.png)

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is identified. Start by reproducing the reported offset between Tippecanoe-generated vector tiles and GeoJSON in QGIS at the cited scales, then isolate whether the discrepancy is reproducible and document a verified explanation or correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.