Version 6 (modified by djay, 14 years ago) |
---|
.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.
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:
List of Outputs ¶
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 ¶
A tipical <LiteralData> node look like the following:
BoundingBoxData? node ¶
A <BoundingBoxData> node contains one <Defautl> node defining the default Coordinate Reference Systems (CRM) and same number of <Supported> nodes as number of CRM your service support (note that you can also use a list of supported CRS separated them by coma in only one <Supported> node.
A tipical <BoundingBoxData> node, for two supported CRM (EPSG:4326 and EPSG:3785 ), look like the following: