Multipolygon missing holes
- Dominant language
- C++
- Stars
- 3.1k
- Forks
- 430
- PR merge metrics
- No merged PRs in 30d
Description
I took some data and constructed a geojson and used tippecannoe to convert it into vector tiles and visualize it in deckgl. However the holes are missing
here is the result without anything and with the --use-source-polygon-winding tag

here is the result when i used the --reverse-source-polygon-winding tag (the white dots the results, because they are too small)

here is what that patch should look like as shown using the geojson-vt debug website: http://mapbox.github.io/geojson-vt/debug/

and I double checked that part of my geojson with https://geojsonlint.com/

I have use the geojson_rewind library for python before dumping the geojson
the command I am currently using to generate the mbtiles is:
tippecanoe -z 5 -ae -pf -pk -pg -ps -pS -pn -pt --use-source-polygon-winding --force --read-parallel -o /data/test/{filename}.mbtiles /data/test/{filename}.geojson'
the geojson is attached in the zip file below
[S_NWC_CT_HIMA08_20S55N-80E150E-NR_20210206T000000Z.zip](https://github.com/mapbox/tippecanoe/files/6034549/S_NWC_CT_HIMA08_20S55N-80E150E-NR_20210206T000000Z.zip)
please help thank you
Contributor guide
Research direction
Start by reproducing the reported command with the attached S_NWC_CT_HIMA08_20S55N-80E150E-NR_20210206T000000Z.zip GeoJSON and compare the output with the geojson-vt debug result. Investigate tippecanoe's multipolygon handling with --use-source-polygon-winding and --reverse-source-polygon-winding. Done means the generated vector tiles preserve the polygon holes for this input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- computer-graphics, data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100