Re: [Geoserver-users] Create CoverageStore without uploading the image

2010-08-31 Thread Cyril Gallay
Here is the output of gdalinfo on the image (but to be honnest, i have tons of them and they all are georeferenced) : Driver: GTiff/GeoTIFF Files: /media/data/images/SPOT5/S090829143259765/SCENE01/IMAGERY.TIF Size is 8861, 6986 Coordinate System is: PROJCS["WGS 84 / UTM zone 22N", GEOGCS["

Re: [Geoserver-users] Create CoverageStore without uploading the image

2010-08-31 Thread Andrea Aime
Cyril Gallay ha scritto: > As you asked, i tried the following : > > curl -v -u admin:geoserver -XPUT --data-ascii > @/media/data/images/SPOT5/S090829143259765/SCENE01/IMAGERY.TIF > http://192.168.241.24:54900/geoserver/rest/workspaces/storm-workspace/coveragestores/test/external.geotiff > >

Re: [Geoserver-users] Create CoverageStore without uploading the image

2010-08-31 Thread Cyril Gallay
As you asked, i tried the following : curl -v -u admin:geoserver -XPUT --data-ascii @/media/data/images/SPOT5/S090829143259765/SCENE01/IMAGERY.TIF http://192.168.241.24:54900/geoserver/rest/workspaces/storm-workspace/coveragestores/test/external.geotiff It takes some time for the curl proces

Re: [Geoserver-users] Create CoverageStore without uploading the image

2010-08-31 Thread Cyril Gallay
Hello, I tried to use external.tiff, external.geotiff, url.tiff, url.geotiff, used -XPUT or -XPOST method. I also tried with --data-ascii instead of --data-binary, but it did not work either. Here are some lines i tried : curl -u admin:geoserver -POST --data-ascii @/media/data/images/SPOT5/

Re: [Geoserver-users] Create CoverageStore without uploading the image

2010-08-31 Thread David Winslow
I have not used an external upload with GeoTIFFs recently. However, I work with and on the RESTConfig API quite regularly. The external.tiff notation cues GeoServer to accept a path to a file, which it then loads directly. ("External" as in, you uploaded the file already through a mechanism exte

Re: [Geoserver-users] Create CoverageStore without uploading the image

2010-08-27 Thread David Winslow
I think there's a gap in the documentation here, but it is possible. Just POST the path to the file to rest/workspaces/ws/coveragestores/cs/external.tiff curl --data-ascii="/path/to/coverage.tiff" \ http://$GS/rest/workspaces/topp/coveragestores/newstore/external.tiff There is also url.tiff to

[Geoserver-users] Create CoverageStore without uploading the image

2010-08-27 Thread Cyril Gallay
Hi everybody, I'm using Curl for a while now to upload Geotiff files to GeoServer but i am stuck with one problem : each time i want to upload a big file (around 1Go or more), i get an error like the following : curl: option --data-binary: out of memory I get this error is coming from Curl w