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.

I'm working on a project at work to download imagery from else where and add it to geoserver. I have no experience in GIS, nonetheless geoserver. I've been hunting through the REST api for 2.0.X of Geoserver and can create workspaces and empty coverage stores. I get that coverage stores hold raster graphics, but is it one-to-one or do they share a special relation by being in the same store? What's the URL and method (PUT, POST, etc) to add a tiff to a coverage store?

share|improve this question
add comment

1 Answer 1

Well the model for raster data in geoserver is that a coverage store can contain multiple coverages. But that said in general, in that 2.0.x version the relationship is 1-1. There is currently work going to support coverages that have the notion of another dimension (like time), at which time you will start to see geoserver support multiple coverages for a single coverage store.

Mapperz provided a good link with some examples. There is also a good reference in the user guide:

http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples/rest-config-examples-curl.html#uploading-a-shapefile

It is for shapefile but for geotiff it is more or less the same, just change shp -> geotiff accordingly, as the examples show.

share|improve this answer
    
I suppose the file has to be a zip? I'm writing a service to download imagery from a 3rd party service and import directly into geoserver and if it's not necessary to zip, then I would like to avoid that step. What content type would it be if a skip zipping (if possible). Also, side note, what kind of names are coverage stores given? I am completely new to geoserver standards... –  Corey Ogburn Jun 6 '11 at 14:44
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.