Replies: 3 comments 6 replies
-
@charalamm For now we don't have really other choice but need to But you could add custom code that register the mosaic on each endpoint request to get the I could maybe write some pseudo code but that could take some time |
Beta Was this translation helpful? Give feedback.
-
@charalamm The mosaic registration call is very light. Internally, titiler-pgstac is using a hash of the filter body to generate the search id which is stored and returned to the client. So subsequent mosaic registration calls with the same search body return the same result. A frontend pattern that we have used on several NASA applications is that when a user selects a date, the frontend makes the mosaic registration call with a search for that date and the returned id is used to request tiles for that date from the tiler endpoint. We have a few examples of applications with a time slider component that use this pattern. |
Beta Was this translation helpful? Give feedback.
-
FYI I just merged stac-utils/titiler-pgstac#132 which add The In theory you can have could also add other filter as path or query-parameters to create Mosaic |
Beta Was this translation helpful? Give feedback.
-
Hello,
We have started moving closer and closer to production with a project that uses eoAPI and I have noticed a thing that would be useful for us.
We have one product for many dates and we want to show mosaics for each date on a frontend app. As far as I understand, for the mosaic endpoint to work we need to register a search. Since we have products for different dates, we must register a new search for each available date in order to show mosaics of different dates. In my opinion, it would be useful to be able to add a datetime field in the mosaic endpoint and get the mosaic for the specified date. What do you think?
Beta Was this translation helpful? Give feedback.
All reactions