On Tue, Feb 5, 2013 at 9:34 PM, lysgaard <[email protected]> wrote:

> Hi, I'm working for the OAM project to create an open aviation map.
> One feature that is qute special for aviation maps is MORA grid heights.
> http://en.wikipedia.org/wiki/MORA_(aviation)
> <http://en.wikipedia.org/wiki/MORA_(aviation)>
> To calculate these I need to extract the biggest elevation within a lat lon
> square.
> Right now I've got the elevation data from the NASA SRTM set in Geoserver.
> Anyone
> know how to extract the largest height in a square from this using
> Geoserver?
>

You'll have to write a WPS process, probably one wrapping the
Extrema operation, which should give you min and max,
and then chain it with the existing CropCoverage operation that will
allow you to restrict the operation to the desired area.

The CropCoverage process is probably a good template for that:
https://github.com/geotools/geotools/blob/master/modules/unsupported/process-raster/src/main/java/org/geotools/process/raster/CropCoverage.java

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to