Hi, I have an image mosaic store that handles .tiff files with the TIME
dimension enabled. Every hour I generate new files and remove the older
ones in a moving window fashion. A simple diagram to illustrate this
operation:

t0: 10:00 10:30 11:00 .................. 15:00
t1:                   11:00 11:30 ......... 15:00 15:30 16:00

To update this store I'm using the REST API and sending first a request to
delete all the granules and then reharvest the directory so that it detects
the new files as mentioned here:

https://docs.geoserver.org/2.23.x/en/user/rest/imagemosaic.html

The "workspaces/<workspace>/coveragestores/<store>/external.imagemosaic"
endpoint detects the new files and adds them to the index, but it does not
delete the ones that are not present. In this case, if I delete a file from
the directory the entry that pointed to that file is not removed from the
index (I'm using PostGIS to store it). And thus the need to send first a
DELETE request before the reharvesting

Is there any option or parameter that I can use so that the reharvesting
process already remove the entries of files that are no longer in the
store, without having to issue a separate DELETE request before hand?

Thanks


-- 
*Cristhian Rivera*
cristhian.riv...@hyds.es

*HYDS (Hydrometeorological Innovative Solutions)*
Jordi Girona 1-3, Ed. ParcUPC K2M 002
08034 Barcelona (Spain)
https://www.hyds.es
Tel: (+34) 933 524 050 <+34933524050>
*Disclaimer <https://www.hyds.es/disclaimer/> | Aviso Legal
<https://www.hyds.es/es/disclaimer/> | Avís Legal
<https://www.hyds.es/ca/disclaimer/>*
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to