Thanks for this.
I noticed that this only works in Geoserver 2.1.1. We also have installed
Geoserver 2.2 (geoserver-trunk-2011-08-02-bin.zip) on Windows with the gdal
extensions and the geoserver-2.2-SNAPSHOT-dds-plugin.zip and we are getting a
Java error("Illegal value for argument "resolutions""). We don't have
a "resolutions" parameter in the wcs call. The call works perfectly with
Geoserver 2.1.1
Thanks,
Elizabeth
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrea
Aime
Sent: Friday, July 29, 2011 3:03 PM
To: Chang, Elizabeth W.
Cc: [email protected]
Subject: Re: [Geoserver-users] getting back an array of raster data in txt
On Thu, Jul 28, 2011 at 9:38 PM, Chang, Elizabeth W. <[email protected]> wrote:
> Is there a service that is similar to getfeatureinfo but without having to
> specifying a pixel? I would like to get the values in a raster using a
> bounding box and have Geoserver return to me a set of values in one request.
I agree with Chris, WCS is the service you're looking for, though OGC tried
its best to make it hard to use.
Here is a sample requests, which use ArcGrid as the output format
WCS 1.0 sample request:
http://demo1.geo-solutions.it/playground/wcs?service=WCS&version=1.0.0&request=GetCoverage&coverage=DEM_Vulcano&bbox=14.91,38.465,14.912,38.467&crs=EPSG:4326&response_crs=epsg:4326&resx=9.019630470297116E-5&resy=9.019630470297116E-5&format=arcgrid
The resx,resy are the resolutions of the output, they must be equal
for arcgrid format to work.
I picked those values from the result of DescribeCoverage, which gave
me the native resolution:
http://demo1.geo-solutions.it/playground/wcs?service=WCS&version=1.0.0&request=DescribeCoverage&coverage=DEM_Vulcano
I'm not going to show you the WCS 1.1 example, since it's quite a bit
more convoluted :-(
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users