I was trying a more advanced wps python script with Geoscript. I have successfully installed the 2.5.1 Geoserver with the geoscript and wps extensions and implemented some simple examples as the one described here:
http://suite.opengeo.org/opengeo-docs/processing/scripting/processcreate.html
Then I have also successfully implemented my own wps that combines gs:BarnesSurface and gs:Contour
For your help gs:Contour is defined here:
http://www.massapi.com/source/geoserver-2.1.1-src/geoserver-2.1.1/extension/wps/wps-core/src/main/java/org/geoserver/wps/gs/ContourProcess.java.html
As you can see it requires as input either levels that is type double[] either interval that is type Double The following code is working fine having "interval" in place of "levels" and "Double" instead of "ArrayList<Double>()" but as it is gives the following error org.geotools.process.ProcessException: Could not convert -100 to target type [D
So I have written to the geoserver-user list and Justin told me to open an issue here. Thank you in advance for your valuable time and efforts to solve this issue.
Kind regards,
V.
|