mapbox / mapbox/tippecanoe

Filter features with large buffer are in the wrong place on the earth

Open
#887 0 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

```
tippecanoe -z3 --no-tile-size-limit --no-feature-limit --no-simplification --no-tiny-polygon-reduction -b127 -c 'mkdir -p output/$1/$2; cat > output/$1/$2/$3.ldgeojson' /Users/enf/Downloads/RhodeIsland.ldgeojson -f -e output
```

The coordinates in `output/0/0/0.ldgeojson` are like `[ 108.281250, 41.836828 ]` instead of like `[-71.822269,41.368928]`. Overflow in the longitude somewhere? Doesn't happen without the large buffer of `-b127`.

Contributor guide

Open the contributing guide

Research direction

Run the provided tippecanoe command with -b127 and compare its output coordinates in output/0/0/0.ldgeojson with a run using a smaller buffer. Trace the coordinate handling involved in large-buffer tile generation and verify that the output remains near the source Rhode Island coordinates without the longitude shift.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.