Just like with Shapefiles, there's a way to upload or reference a coverage
file and have GeoServer auto-create the store, resource, and layer.  Look on
the RESTConfig reference for this text:

/workspaces/<ws>/coveragestores/<cs>/file[.<extension>]

http://docs.geoserver.org/stable/en/user/restconfig/rest-config-api.html

Hope it helps.

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Sep 19, 2011 at 4:04 AM, Lucas Heezen - Covadis
<[email protected]>wrote:

> Hello,
>
> I'm trying to create a coverageStore with REST. DataStore are no problem.
> This is the request I'm executing to geoserver.
>
> <coverageStore>
>  <name>Localhost_Geotiff</name>
>  <type>GeoTIFF</type>
>  <url>file:D:\geotiff\geotiff.tif</url>
>  <enabled>true</enabled>
> </coverageStore>
>
> When I execute the following REST query the coverages aren't displayed. How
> do I add a coverageStore and publish the data in one request?
>
> Met vriendelijke groet,
> Lucas Heezen
>
> Covadis b.v.
> t: 026 3616600
>
> Geograaf 12
> f: 026 3612317
>
> 6921 EW Duiven
> e: [email protected]
>
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> Learn about the latest advances in developing for the
> BlackBerry&reg; mobile platform with sessions, labs & more.
> See new tools and technologies. Register for BlackBerry&reg; DevCon today!
> http://p.sf.net/sfu/rim-devcon-copy1
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to