Re: [Geoserver-users] How to get metadata such as the native bounding box for raster data through REST?

2011-06-23 Thread Ole Nielsen
Thanks again for helping me getting to the right xml links. However, I took another route and got the bounding boxes (and a few other things) by using OWSLib. For those with the same needs, I have included the Python function below in the hope it’ll be useful to some else too. Cheers Ole def

Re: [Geoserver-users] How to get metadata such as the native bounding box for raster data through REST?

2011-06-22 Thread Ole Nielsen
Thanks for the link and the explanation. This was exactly what I was after. This link works beautifully and provides the information we need. http://www.aifdr.org:8080/geoserver/rest/workspaces/hazard/coveragestores/Lembang_Earthquake_Scenario/coverages/Lembang_Earthquake_Scenario.xml However

Re: [Geoserver-users] How to get metadata such as the native bounding box for raster data through REST?

2011-06-22 Thread Chris Holmes
Oh weird, if I go from chrome I get the .xml link, if I go from firefox I get the html page you sent. Which yeah, give a big error, so something is wrong. On Wed, Jun 22, 2011 at 3:49 AM, Ole Nielsen ole.niel...@aifdr.org wrote: Thanks for the link and the explanation. This was exactly what I

[Geoserver-users] How to get metadata such as the native bounding box for raster data through REST?

2011-06-21 Thread Ole Nielsen
Dear all I am sure this is a simple problem, but I can't work out how to get the bounding box of a raster layer through REST. I tried to mimic the approach used for vector data (see example below), but so far my attempts have only resulted in minimal data. Here's the REST call which works for

Re: [Geoserver-users] How to get metadata such as the native bounding box for raster data through REST?

2011-06-21 Thread Chris Holmes
You want coverages instead of coveragetypes. The base inspiration for the names is the WFS vs WCS specs, WFS calls layer categories featureTypes, WCS calls them coverages. So