I have multiple ImageMosaics that I need to update each day. Data will be
uploaded in the folder containing the Image Mosaic and I need to upload the
ImageMosaic so it reflects the changes.

This link does not work :
http://docs.geoserver.org/stable/en/user/rest/examples/curl.html#uploading-and-modifying-a-image-mosaic

And on the this link
https://docs.geoserver.org/latest/en/user/rest/imagemosaic.html

I followed the step titled "Harves (or reharvest) a whole directory into
the mosaic and update the mosaic index" :

curl -v -u admin:geoserver -XPOST -H "Content-type: text/plain" -d
"file:///path/to/the/mosaic/folder"
   
"http://localhost:8080/geoserver/rest/workspaces/testspace/coveragestores/testing/external.imagemosaic";

The return message is that xy bytes were transferred successfully, but when
I go into the folder, I see the old data and none of the new ones.

*tl;dr *: I need to delete the data from an ImageMosaic folder every 24
hours, and replace the with the next set of layers, while in the meantime
updating the ImageMosaic definition files.

Please know that I am an amateur GeoServer user, and that I really
appreciate all the support from this wonderful community. If I have broken
some of the community guidelines, please let me know.
_______________________________________________
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