developmentseed / eoAPI

[Active Development] Earth Observation API (Metadata, Raster and Vector services)
https://eoapi.dev
MIT License
196 stars 21 forks source link

[WIP] Make the mosaic map endpoint more interactive #89

Closed hrodmn closed 10 months ago

hrodmn commented 1 year ago

Goals:

Resolves #79

hrodmn commented 1 year ago

The tests are failing because these changes require titiler>=0.11.7 but titiler-pgstac requires titiler<11. Updates to titile-pgstac to allow titiler>11 are in progress here: https://github.com/stac-utils/titiler-pgstac/pull/93.

vincentsarago commented 1 year ago

@hrodmn I'm sorry I haven't looked at this PR earlier.

I fixed some dependency issue and added by default the /map endpoint from titiler-pgstac. I think it will be easier to do a clear restart for the new /map` endpoint you're envisioning.

hrodmn commented 1 year ago

@vincentsarago no worries! And thanks for letting me know about the recent updates. I got a rudimentary version of the asset picking UI working a few weeks ago but had to put it down in favor of other work. I'll take a look at your recent updates later today.

hrodmn commented 1 year ago

I've got a basic version of the interactive mosaic endpoint running locally! I still need to add some logic to handle assets that consist of multi-band COGs but I have some ideas on how to handle it.

Single-band view: image

Three-band: image

hrodmn commented 1 year ago

I am sorry about the force pushes here but I wanted to rebase this PR on main so I can make sure it is compatible with the mosaic builder!

hrodmn commented 10 months ago

I am closing this out since I have not had a chance to work on it in many months - might revisit later!