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

Raster timeseries #655

Merged
merged 10 commits into from
Sep 21, 2023
Merged

Raster timeseries #655

merged 10 commits into from
Sep 21, 2023

Conversation

nerik
Copy link
Contributor

@nerik nerik commented Sep 14, 2023

Adds raster timeseries back to the new map component with some architecture fixes (please review ignoring the first commit which was mostly copying files from the old version around).

@netlify
Copy link

netlify bot commented Sep 14, 2023

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit 4910c17
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui/deploys/650c454769714f0008dca111
😎 Deploy Preview https://deploy-preview-655--veda-ui.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nerik nerik force-pushed the feature/exploration-map-layers branch from 0b8a66b to 5e21005 Compare September 18, 2023 07:49
@nerik nerik force-pushed the feature/exploration-map-layers branch from 5e21005 to 70d0782 Compare September 18, 2023 07:51
Base automatically changed from feature/exploration-map-controls to feature/exploration September 18, 2023 13:39
@nerik nerik marked this pull request as ready for review September 18, 2023 13:54
@nerik nerik requested a review from danielfdsilva September 18, 2023 13:56
@nerik nerik changed the title [WIP] raster timeseries Raster timeseries Sep 18, 2023
Copy link
Collaborator

@danielfdsilva danielfdsilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking really good. And the layer usage is pretty clean!

app/scripts/components/common/map/hooks/use-fit-bbox.ts Outdated Show resolved Hide resolved
app/scripts/components/common/map/hooks/use-maps.ts Outdated Show resolved Hide resolved
@@ -11,7 +11,7 @@ import {
} from 'mapbox-gl';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remind me:
I recall us having a discussion about whether or not to make the STAC layer data requests outside the layer component. Did we end up deciding to keep it this way because of how tightly coupled with the rendering these requests are?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I remember correctly, we opted to keep the STAC layer data requests inside the component/generator because the results from those requests are only relevant to the map.

A recap for my own sanity:

  • search -> get STAC features -> used to render points layer, if any
  • mosaic/register -> get tilejson url
    • `mosaic/[id]/tilejson.json -> get XYZ tiles URL -> used to render raster tiles

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is correct

@nerik nerik merged commit 52e1349 into feature/exploration Sep 21, 2023
7 checks passed
@nerik nerik deleted the feature/exploration-map-layers branch September 21, 2023 14:05
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

Successfully merging this pull request may close these issues.

2 participants