I have an ImageMosaic Store pointing to a folder in my data_dir.  There is a 
separate application that adds image files to that folder, then I need the 
ImageMosaic to see each new image so that the mosaic gets updated.

I've been using the following command to achieve what I want but at some point 
it seems to simply stop working and the ImageMosaic (and .dbf file in that 
folder) won't see new image paths.  It works for 5 or 10 or 100 images but I 
can't figure out at what point it stops actually updating because it always 
seems to return '200'.

Any tips on what I could do better?  I haven't gotten to the point where I 
attach a debugger to the source and step through the code yet.  I am using 
GeoServer 2.17.2 right now on rhel.

curl -u admin:geoserver -v -XPOST -H "Content-type: text/plain" -d 
file:///local/amort/sampleImagery 
http://localhost:8080/geoserver/rest/workspaces/cite/coveragestores/mort/external.imagemosaic

I have also tried:
curl -u admin:geoserver -v -XPOST -H "Content-type: text/plain" -d 
file:///local/amort/sampleImagery 
http://localhost:8080/geoserver/rest/workspaces/cite/coveragestores/mort/external.imagemosaic?recalculate=nativebbox,latlonbbox


Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

_______________________________________________
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