ZOO-Services

500+ Ready to use WPS services

ZOO-Services is a growing collection of ready to use Web Processing Services built on top of reliable open source libraries such as GDAL, CGAL, GRASS GIS, OrfeoToolbox, SAGA GIS and more. It aims at using existing geospatial algorithms through standard WPS, and provides a number of significant examples to build your own.

GDAL based

GDAL

GRASS based

GRASS GIS

CGAL based

CGAL

OTB based

Orfeo Toolbox

SAGA based

SAGA GIS

What's next ?

Build your own

configuration file

Edit a configuration file (.zcfg) that describes the targeted WPS Service with simple metadata information.

source code

Bring new or existing code to execute as WPS, using the programming language of your choice.

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

Java

import java.lang.*;
import java.util.*;
	public class HelloJava {
	    public static int HelloWorldJava(HashMap conf,HashMap inputs, HashMap outputs) {
	        HashMap tmp=(HashMap)(inputs.get("S"));
	        String v=tmp.get("value").toString();
	        HashMap hm1 = (HashMap)(outputs.get("Result"));
	        hm1.put("value",ZOO._("Hello "+v+" from JAVA World !!"));
	        return ZOO.SERVICE_SUCCEEDED;
	    }
	}

PHP

function HelloPHP(&$main_conf,&$inputs,&$outputs){
	  $tmp="Hello ".$inputs["S"]["value"]." from the PHP world !!";
	  $outputs["Result"]["value"]=zoo_Translate($tmp);
	  zoo_UpdateStatus($main_conf,"Final step",99);
	  return zoo_SERVICE_SUCCEEDED();
	}

© Copyright 2009 - 2024 - ZOO Project - All Rights Reserved.