Hi all,
I am using geoserver 2.6.1 and spent some time on getting used with the REST API. I basically followed REST examples for cURL from here:
http://docs.geoserver.org/stable/en/user/rest/examples/curl.html
I managed to define and configure a new image mosaic via
But it another story when I want to harvest another file to an existing imagemosaic. The geoserver docs give the following command, which I adapted for my configuration:
If I transfer the image file to the geoserver machine and run the command directly on the geoserver machine the file is harvested to the imagemosaic without problems.
My question: is there a possibility to harvest new files from my local machine to an existing imagemosaic when the geoserver is not running on the local machine but on another machine within the local network? Or is that procedure not intended?
Kind regards,
Sabine Ohlendorf
http://docs.geoserver.org/stable/en/user/rest/examples/curl.html
I managed to define and configure a new image mosaic via
curl -u admin:geoserver -XPUT -H "Content-type:application/zip" --data-binary @testmosaic.zip http://<IPaddress>/geoserver/rest/workspaces/myworkspace/coveragestores/testmosaic/file.imagemosaicThe difference to the curl example from the geoserver docs is just the location of the geoserver. I run the curl command from my local machine. The geoserver is running on another machine within the local network. But everything worked fine.
But it another story when I want to harvest another file to an existing imagemosaic. The geoserver docs give the following command, which I adapted for my configuration:
curl -v -u admin:geoserver -XPOST -H "Content-type: text/plain" -d file:///path/to/the/file/newfile.tif http://<IPaddress>/geoserver/rest/workspaces/myworkspace/coveragestores/testmosaic/external.imagemosaicHere I get an error that the file 'file:///path/to/the/file/newfile.tif ' was not found, when I run the command from my local machine with a file path on my local machine.
If I transfer the image file to the geoserver machine and run the command directly on the geoserver machine the file is harvested to the imagemosaic without problems.
My question: is there a possibility to harvest new files from my local machine to an existing imagemosaic when the geoserver is not running on the local machine but on another machine within the local network? Or is that procedure not intended?
Kind regards,
Sabine Ohlendorf
------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users