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

Error displaying past analysis thumbnails #455

Closed
danielfdsilva opened this issue Feb 6, 2023 · 1 comment
Closed

Error displaying past analysis thumbnails #455

danielfdsilva opened this issue Feb 6, 2023 · 1 comment
Assignees

Comments

@danielfdsilva
Copy link
Collaborator

From NASA-IMPACT/veda-config#192 (comment)

The thumbnail image for the past analyses does not load in all the cases; according to what I tested, happens when it is a complex geometry, or when there are a lot of polygons in different areas
Screenshot from 2023-02-03 11-16-27

The thumbnails are generated using the mapbox static image api which has a maximum url length of 8192 characters. Complex polygons exceed this, and the request fails.

We could create a non interactive map for each thumbnail, but we'd need to evaluate the performance impact of this.

@nerik
Copy link
Contributor

nerik commented Feb 6, 2023

@danielfdsilva We could also consider:

  • not showing the polygon at all if it's too big, considering showing the boundaries of the viewport already arguably provides most of the value
  • re-symplifying the polygon

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

2 participants