ZooWebSite/2015/Code/ZOO-Services/Hello

Version 3 (modified by nickboz, 9 years ago)

--

ZOO Services Hello Worlds

Say hello in WPS using the language of your choice

ZOO Services is a growing collection of ready to use Web Processing 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 through standard WPS, and provides a number of significant examples to build your own.

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

PHP

printf

Search

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png