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

Map thumbnail fail to load when polygon crosses the antimeridian #505

Closed
danielfdsilva opened this issue Apr 6, 2023 · 2 comments
Closed

Comments

@danielfdsilva
Copy link
Collaborator

The mapbox static image api does not support polygons that cross the antimeridian, which can easily happen if the analysis is done over the pacific ocean.

A possible option would be to split the polygon and make sure it wraps correctly.
The geojson-antimeridian-cut seems to be the library for this situation, but I wasn't able to get it to work.

Perhaps a simpler approach is desirable.

image

cc @nerik

@danielfdsilva danielfdsilva changed the title Map thumbnail fails loading when polygon crosses the antimeridian Map thumbnail fail to load when polygon crosses the antimeridian Apr 6, 2023
@j08lue j08lue added the bug label Oct 13, 2023
@j08lue
Copy link
Contributor

j08lue commented Mar 12, 2024

This will go away when the integrated Exploration & Analysis interface replaces the standalone Analysis UI. But we are not yet there...

@aboydnw
Copy link
Contributor

aboydnw commented May 20, 2024

I can confirm I was able to create a time series chart with a similar AOI to the example in the new E&A interface

@aboydnw aboydnw closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants