here is an example of Zoo's Web Processing Service that gets the elevation 
along a path:
http://www.zoo-project.org/site/ZooWebSite/Demo/GdalProfile

and here is the source for it:
http://www.zoo-project.org/trac/browser/trunk/zoo-services/gdal/profile/service.c

you should be able to do the same thing as a geoserver WPS. to add such WPS you 
need to use the QuickStart guide to download geoserver source and compile 
wps-core extention. Since you should be able to use GDAL through a geoserver 
WPS, your code should be mostly similar to what you see in Zoo's "Elevation 
Profile" service. 

for info on how to make you own WPS you can look at Anrea's post here:
http://osgeo-org.1803224.n2.nabble.com/Add-a-WPS-process-to-GeoServer-td6112468.html

  Syrus Mesdaghi
  Northrop Grumman Information Systems
  Chantilly, VA
  Email:  Syrus.Mesdaghi at ngc.com
  Office: 703-227-1614


Date: Tue, 29 Mar 2011 11:20:38 +1000
From: s...@immortal.net.au
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Geoserver to provide elevation data along a path.

Just curious if it would be possible to use GeoServer and WFS queries (or some 
other method) to provide a functionality similar to the Google Maps elevation 
API whereby I could provide a query to the server with a number of points, a 
linestring or similar and have it return an array of elevation data points 
along that path?

The google service is perfect, except that I would Ideally like to run in an 
"offline" environment and also provide my own higher-accuracy DEM data.

Thanks

-- 
 




------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users                    
                  
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to