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

possible mapping issue over Antarctica #5433

Open
tricaric opened this issue Jan 30, 2025 · 3 comments
Open

possible mapping issue over Antarctica #5433

tricaric opened this issue Jan 30, 2025 · 3 comments
Labels
bug Something isn't working globe Globe related issues PR is more than welcomed Extra attention is needed

Comments

@tricaric
Copy link

maplibre-gl-js version: 5.1.0

browser: Chrome/Safari/Firefox on Mac, Safari/iOS

Steps to Trigger Behavior

This bug was originally reported here: hyperknot/openfreemap#59

When using a "globe" projection, there's seems to be a tiling issue over Antarctica, most easily visible when using the openfreemap with

style: "https://tiles.openfreemap.org/styles/positron"

Alternatively, this issue can also be observed with the example: https://maplibre.org/maplibre-gl-js/docs/examples/globe-zoom-planet-size-function/

Similar issue in the same spot, see attached images.

Link to Demonstration

Image

Image

@HarelM
Copy link
Collaborator

HarelM commented Jan 30, 2025

Yeah, the mathematics around the poles is problematic...
Feel free to investigate.

@HarelM HarelM added bug Something isn't working PR is more than welcomed Extra attention is needed globe Globe related issues labels Jan 30, 2025
@kubapelc
Copy link
Collaborator

There is no data in the map source outside the web mercator range, so globe has to fill in the blanks somehow. It interpolates anything it finds on the edge towards the poles. This effect is nicely visible if you use raster maps, such as satellite. That blue spike is just a part of the ocean that crosses the edge of web mercator around ~85° latitude, so it gets interpolated all the way to the pole.

@HarelM
Copy link
Collaborator

HarelM commented Feb 13, 2025

@kubapelc can we add this information to the globe.md readme? I think this is a valuable information.
Thanks for looking into this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working globe Globe related issues PR is more than welcomed Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants