Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to display undistorted vector data around poles #12460

Open
jakub-m opened this issue Dec 13, 2022 · 2 comments
Open

How to display undistorted vector data around poles #12460

jakub-m opened this issue Dec 13, 2022 · 2 comments
Labels

Comments

@jakub-m
Copy link

jakub-m commented Dec 13, 2022

mapbox-gl-js version: 2.11.0

Question

How to display undistorted vector data around poles? Ideally I would like to display raster tiles or MVT tiles or GeoJSON around poles. I know that with tiles (neither vector no raster) it is not possible because of limitations of web-mercator that tiles assume. The tiles use "slippy tile" indexing scheme, which in turn assumes web-mercator projection, which does not work above 85 (below -85) latitude).

But GeoJSON layer do not have the constraints of tiles. Sadly, when I try to render anything around poles, I get distorted results (similarly as in this bug)

Examples of distortions near poles (based on this example):

image (2)

image (1)

image

Links to related documentation

@alexaac
Copy link

alexaac commented Oct 12, 2023

Hi @jakub-m, I have the same issue with Antarctica. In this demo, the data was projected to EPSG:4326 before loading, because is the only projection that somewhat fits the GeoJSON where it should be.

Have you found a workaround until now?

south_pole_bug

@jakub-m
Copy link
Author

jakub-m commented Feb 15, 2024

@alexaac Hi, sorry for terribly late reply. No, I didn't manage to find a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants