Hello
I am using curl to upload a folder containing tif images as image
mosaic. i am working in linux.
my curl command is
curl -v -u admin:geoserver -XPUT -H "Content-type: text/plain" -d
"file:///uops1/imgeos/gdal-1.5.0/mosiac"
"http://192.168.120.170:8080/geoserver/rest/workspaces/test_ws/coveragestores/mosiactestjayasudha/external.imagemosaic"
About to connect() to 192.168.120.170 port 8080
* Trying 192.168.120.170... connected
* Connected to 192.168.120.170 (192.168.120.170) port 8080
* Server auth using Basic with user 'admin'
> PUT
/geoserver/rest/workspaces/test_ws/coveragestores/mosiactestjayasudha/external.imagemosaic
HTTP/1.1
> Authorization: Basic YWRtaW46Z2Vvc2VydmVy
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5
OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: 192.168.120.170:8080
> Accept: */*
> Content-type: text/plain
> Content-Length: 38
>
> file:///uops1/imgeos/gdal-1.5.0/mosiacHTTP/1.1 400 Bad Request
< Content-Type: text/plain
< Transfer-Encoding: chunked
< Server: Jetty(6.1.8)
* Connection #0 to host 192.168.120.170 left intact
* Closing connection #0
Failed to locate the input file file:/uops1/imgeos/gdal-1.5.0/mosiac
It is giving error Failed to locate the input file
file:/uops1/imgeos/gdal-1.5.0/mosiac. but if i do
curl "file:/uops1/imgeos/gdal-1.5.0/mosiac" it is accepting
Regards
Jaya Sudha
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users