[Bug] Deck.GL GeoJsonLayer incorrectly renders self intersecting polygons
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
Description
The geojson layer incorrectly renders self intersecting polygons.
Currently those polygons look like this:
Flavors
- Script tag
- React
- Python/Jupyter notebook
- MapboxOverlay
- GoogleMapsOverlay
- CartoLayer
- ArcGIS
Expected Behavior
Steps to Reproduce
Environment
- Framework version: 8.9.32
- Browser: Chrome 119.0
- OS: Windows 10 & Windows 11
Logs
No response
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.
Research direction
Start with the linked StackBlitz reproduction at src/App.tsx and inspect how the React GeoJsonLayer is configured for the self-intersecting polygon. Reproduce the rendering in Chrome, then trace the GeoJsonLayer rendering path to identify the cause. Done means the polygon matches the expected rendering for the provided case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100