Hi list,
I have been trying without real success to upload netCDF files in GeoServer
throungh REST interface. The file contains only one netCDF file, without any
subsets or bands. So it is a pretty simple netCDF file.
I have tried the following two methods:
1) curl -u admin:geoserver -v -POST -H "Content-type: text/xml" -d
"<coverageStore><name>st</name><workspace>ws</workspace><enabled>true</enable><type>NetCDF</type><url>d:\\path_to_netcdf\\data.nc</url></coverageStore>"
"http://localhost:8080/geoserver/rest/workspaces/ws/coveragestores?configure=all"
I get the following error message: 500 Internal Server Error.
2) curl -v -u admin:geoserver -XPUT -H "Content-type:application/zip"
--data-binary @d:\\path_to netcdf\\data.zip
http://localhost:8080/geoserver/rest/workspaces/ws/coveragestores/st/file.netcdf
I get the following error message: 500 Internal Server Error Error occured
unzipping fileroot
Any ideas or suggestions to solve this issue are more than welcome.
Kind regards,Corina
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel