unkink-polygon throws empty exception
Open
@wtchen is already working on this.
Since Oct 25, 2023.
@turf/unkink-polygon
- Dominant language
- TypeScript
- Stars
- 10.5k
- Forks
- 1k
- Avg merge
- 1h 11m
- Merged PRs (30d)
- 4
Description
@turf/unkink-polygon: "6.5.0"
When passed geojson that it can't handle it silently throws an error without explaination which can be hard to trace the source of. "Unprocessable geometry in feature 7" or similar would be useful.
Example geojson:
https://gist.github.com/alexcroox/1a9d7a45422514d4e0fde6cfa0761eac
It's failing I imagine because of this hot mess of a polygon:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.