You're looking at the coveragestore details, not the coverage details.
 (This distinction is not very useful for GeoTiff, for which each store
contains exactly one coverage, but GeoServer could conceivably have a plugin
which provides a coveragestore that can have multiple coverages.  See for
example the PostGIS datastore which may expose multiple tables from one
PostGIS database, an analogous structure on the featuretype side.)

If you follow the link to
http://localhost:8080/geoserver/rest/workspaces/sensorer/coveragestores/pm10.2010141.0935.geo.tif/coverages.xml

(from the <coverages> block above) you will find a link to the coverage
details themselves.

There is also an entry in
http://localhost:8080/geoserver/rest/layers.xmlfor the layer details,
which is where you would set the styles for the layer
and other "publishing" details.

Hope this helps.

--
David Winslow
OpenGeo

On Thu, Oct 21, 2010 at 10:47 AM, Piero Campa <[email protected]> wrote:

>
> Hi all,
> I'm starting to believe that you cannot read detailed information of one
> layer via REST...
>
> Example:
>
> REQUEST (via shell, using cURL)
> curl -XGET -u admin:password
> http://localhost:8080/geoserver/rest/workspaces/
> <myWorkspace>/coveragestores/<myGeoTIFF>.xml
>
> RESPONSE:
> <coverageStore>
>  <name>pm10.2010141.0935.geo.tif</name>
>  <type>GeoTIFF</type>
>  <enabled>true</enabled>
>  <workspace>
>    <name>sensorer</name>
>    <atom:link xmlns:atom="http://www.w3.org/2005/Atom"; rel="alternate"
> href="http://localhost:8080/geoserver/rest/workspaces/sensorer.xml";
> type="application/xml"/>
>  </workspace>
>
>
> <url>file:/home/piero/Documents/MODIS_Maps/2010/pm10.2010141.0935.geo.tif</url>
>  <coverages>
>    <atom:link xmlns:atom="http://www.w3.org/2005/Atom"; rel="alternate"
> href="
> http://localhost:8080/geoserver/rest/workspaces/sensorer/coveragestores/pm10.2010141.0935.geo.tif/coverages.xml
> "
> type="application/xml"/>
>  </coverages>
>
>
> The content of the response of a WMS GetCapabilities is much more detailed,
> but the size of it is very huge in my case (about 30 MB).
> Any suggestion?
>
> Thanks,
> Piero
> --
> View this message in context:
> http://old.nabble.com/REST---GET-bounding-box-of-one-layer-tp30020257p30020257.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to