mapbox / mapbox/tippecanoe

Bounding box clipping doesn't work right with New Zealand parcels

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

Description

You can select Chatham Island from Natural Earth with

```
➤ tippecanoe -zg -f -o foo.mbtiles --clip-bounding-box=-178.327,-45.644,-173.854,-42.663 ne_10m_admin_0_countries.json
```

but

```
➤ tippecanoe -zg -f -o foo.mbtiles --clip-bounding-box=-178.327,-45.644,-173.854,-42.663 --drop-densest-as-needed ../Downloads/nz_primary_parcels.json.gz
```

does not select its parcels.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the two tippecanoe commands and the Natural Earth and nz_primary_parcels.json.gz inputs shown above. Compare the clipping results for the Chatham Island bounding box; done means the New Zealand parcel command selects the parcels in that box as the Natural Earth command does.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
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.