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

-------------------------------------------------------

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to