Version 3 (modified by nickboz, 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 GIS, OrfeoToolbox, CGAL and more. It aims at using existing geospatial algorithms as Web Processing Services and provides significant examples to build your own.
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