You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MosaicTilerFactory enables to request statistics for a searchId (instead of a single COG url or STAC Item Id). This makes it possible to generate stats for an AOI in a single step (as opposed to retrieving a list of COGs within the AOI and then requesting the stats for each).
The danger is that API will need load every file within the AOI into memory in order to generate the stats, which can become very slow/memory intensive with a large number of files. The nature of the VEDA dashboard is such that each stats query is always bounded to a single day, so I assume that there will never be more than a few dozen files being opened.
In order to enable the endpoint, you just have to add:
Again, a big thank you to @vincentsarago for being one step ahead of everyone else and having already implemented the functionality before we even realized we might need it!
The text was updated successfully, but these errors were encountered:
The MosaicTilerFactory enables to request statistics for a
searchId
(instead of a single COG url or STAC Item Id). This makes it possible to generate stats for an AOI in a single step (as opposed to retrieving a list of COGs within the AOI and then requesting the stats for each).The danger is that API will need load every file within the AOI into memory in order to generate the stats, which can become very slow/memory intensive with a large number of files. The nature of the VEDA dashboard is such that each stats query is always bounded to a single day, so I assume that there will never be more than a few dozen files being opened.
In order to enable the endpoint, you just have to add:
to the MultiBaseTilerFactory instantiation
Again, a big thank you to @vincentsarago for being one step ahead of everyone else and having already implemented the functionality before we even realized we might need it!
The text was updated successfully, but these errors were encountered: