Hi all, 

I’ve put
together a standalone java app that computes the surface profile given a raster
and a lineString. I’m now in the process of wrapping it in a WPS. The app uses
org.gdal.ogr.Geometry for the path and org.gdal.gdal.Dataset for the raster.
The services I see in wps-core extension of geoserver tend to use
com.vividsolutions.jts.geom.Geometry and
org.geotools.coverage.grid.GridCoverage2D which are understood by the WPS
Request Builder and allow you to use the UI to specify the data. I can easily
convert the jts.geom.Geometry to ogr.Geometry by exporting/importing to, say,
WKT but I’m not sure how to covert between GridCoverage2D and Dataset. What is 
the best way to do so?
My next question is if I it would be best to change the app to use
GridCoverage2D  instead of Dataset.  Any strong opinions either way?



Thanks, Syrus Mesdaghi


                                          
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to