ZooWebSite/ZooServices/ZCFGReference

Version 5 (modified by djay, 13 years ago)

First version containing examples

.zcfg Reference

.zcfg is the ZOO Service configuration file which describes the service and being parsed by ZOO Kernel. You can use the generic example bellow to compose .zcfg files, and get working examples on the ZOO Trac.

A ZOO Configuration file is divided in three distinct sections :

  • Main metadata informations
  • List of Inputs metadata informations
  • List of Outputs metadata informations

The ZOO Configuration File is case sensitive.

Main metadata informations

The fist part in a ZOO Configuration containing the metadata informations relatives to the service. Note that the "name of your service" have to be the exact same name as the function you defined in you service code.

Error: Failed to load processor Lineno
No macro or processor named 'Lineno' found

List of Inputs

The list of inputs your service can handle, it contains metadata informations of each services and it is a <DataInputs> node.

A tipical list of inputs (<DataInputs>) look like the following:

Error: Failed to load processor Lineno
No macro or processor named 'Lineno' found

List of Outputs

Error: Failed to load processor Lineno
No macro or processor named 'Lineno' found

Type Of Data Nodes

From the begining we spoke about Type Of Data Nodes to describe data type of inputs and outputs.

You can define your data as:

LiteralData? node

Error: Failed to load processor Lineno
No macro or processor named 'Lineno' found

BoundingBoxData? node

Error: Failed to load processor Lineno
No macro or processor named 'Lineno' found

ComplexData? node

Error: Failed to load processor Lineno
No macro or processor named 'Lineno' found

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