Version 2 (modified by djay, 10 years ago) |
---|
ZOO Services
Ready to use WPS services
ZOO Services is a growing collection of ready to use WPS Services built on top of reliable open source libraries such as GDAL, GRASS, CGAL and more. It aims at
How-to
Hello world
JavaScript
function hellojs(conf,inputs,outputs){
outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !";
//SERVICE_SUCEEDED
return Array(3,outputs);
}
Python
import zoo
def HelloPy(conf,inputs,outputs):
outputs["Result"]["value"]="Hello "+inputs["a"]["value"]+" from Python World !"
return zoo.SERVICE_SUCCEEDED
C
printf