Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

[RESOLVED] Is it possible to use the Geoserver REST API to automatically create a layer on the basis of an existing coverage store (with the specified path to a file geotiff)? Will Geoserver automatically calculate the Bounding Boxes and Coordinate Reference Systems?

Please note: the coverage store is already created.

share|improve this question
1  
You need to properly create a coverage store. If you don't want to upload files at geoserver (use existing coverages), you should use the external endpoints at the url. For example: curl -u admin:geoserver -v -XPUT -H "Content-type: text/plain" -d "file:usr/coverages/my_coverage.tif" http://localhost:8080/geoserver/rest/workspaces/agro/coveragestores/radar_sample‌​/external.geotiff –  winsent Oct 28 '11 at 13:39
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.