[Bug] Distorted bitmap in LNGLAT coordinate system in Globe view near the poles
@Pessimistress is already working on this.
Since Jun 29, 2022.
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
Description
Using example image linked from LNGLAT coordinate system docs in Globe view, the bitmap is visibly distorted near the poles in the longitude direction. It looks like the bitmap is split into 36 segments, 10 degrees longitude wide each.
The image projection is EPSG:4326 which should be compatible with deck's LNGLAT.

I'm not sure what's the cause. Is it possible that there is a missing coordinate conversion in bitmap-layer.ts#L325 to project the image into deck globe mesh?
The issue is more apparent with weather float data, rendered as contours. The distortion results in discontinuous contours. I can provide a sample data file if needed, but solving the issue for the example image above should solve it also for this case.

Flavors
- React
- Python/Jupyter notebook
- MapboxLayer
- GoogleMapsOverlay
- CartoLayer
- DeckLayer/DeckRenderer for ArcGIS
Expected Behavior
Bitmap without visible distortion near the poles.
Steps to Reproduce
Use example image linked from LNGLAT coordinate system docs in Globe view. Rotate to the poles to see the distortion.
https://codepen.io/zakjan/pen/MWQNzLR
Environment
- Framework version: 8.7.12
- Browser: any
- OS: any
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.
Assessment
This issue has not been assessed yet.