mapbox / mapbox/tippecanoe

why the polygon split into 2 parts?

Open
#781 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
3.1k
Forks
430
PR merge metrics
No merged PRs in 30d

Description

tippecanoe -o census_2018_us_block.mbtiles -zg --drop-densest-as-needed census_2018_us_block.geojson

I use above parameter,

at detailed zoom level, like 12, 13, one polygon split into 2 parts.
when I zoom out to 5, 6, the splitted polygon merge back to one polygon.

I understand is because at zoom 13, one tile is not big enough to capture all polygon.
In another word, 1 big polygon spread into 2 or more tiles.

What parameter should I use to avoid such problem?

Where is document teach me how to use each parameters?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior with the provided tippecanoe command and census_2018_us_block.geojson, comparing zoom levels 5–6 with 12–13. Check the available parameter documentation and determine whether a setting can prevent the polygon from appearing split across tiles; document the expected behavior and relevant option if one exists.

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.