Changeset 469 for trunk/docs
- Timestamp:
- May 1, 2014, 1:28:14 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/services/zcfg-reference.txt
r463 r469 19 19 20 20 1. Main Metadata information 21 2. List of Inputs metadata information 21 2. List of Inputs metadata information (optional since `rev. 469 <http://zoo-project.org/trac/changeset/469>`__) 22 22 3. List of Outputs metadata information 23 23 … … 112 112 - :ref:`ComplexData <ComplexData>` 113 113 114 Except for ``LiteralData``, each *Type Of Data* node must have at least one ``<Default>`` and one ``<Supported>`` node. Even 115 if one of those are empty, it **has to be present** with an opening and closing tag on two different lines. So, something 116 like the following: 117 118 .. code-block:: guess 119 :linenos: 120 121 <Default> 122 </Default> 123 124 Otherwise, ZOO-Kernel won't be able to parse your ZCFG and will fail to process requests. 114 Except for ``LiteralData``, each *Type Of Data* node must have at least one ``<Default>`` node. Even 115 if empty, it **has to be present**. So, something 116 like the following should be present in your ZCFG file: 117 118 .. code-block:: guess 119 :linenos: 120 121 <Default /> 122 123 Otherwise, ZOO-Kernel won't be able to parse your ZCFG correctly. 125 124 126 125 .. _LiteralData: … … 132 131 133 132 - one (optional) ``AllowedValues`` key containing all value allowed for this input 133 - one (optional) ``range`` properties containing the range (``[``, ``]``) 134 134 - one (optional) ``rangeMin`` (``rangeMax``) properties containing the minimum (maximum) value of this range 135 135 - one (optional) ``rangeSpacing`` properties containing the regular distance or spacing between value in this range … … 178 178 </LiteralData> 179 179 180 Or more simply: 181 182 .. code-block:: guess 183 :linenos: 184 185 <LiteralData> 186 dataType = float 187 range = [0.0,100.0] 188 <Default /> 189 </LiteralData> 190 180 191 A typical ``<LiteralData>`` node, defining a ``string`` data type which 181 192 support values ``hillshade``, ``slope``, ``aspect``, ``TRI``, ``TPI`` … … 192 203 193 204 Properties ``AllowedValues`` and ``range*`` can be conbined with both ``<Default>`` and 194 ``<Supported>`` nodes in the same ``<LiteralData>`` node. 205 ``<Supported>`` nodes in the same was as ``<LiteralData>`` node. For 206 instance, the following is supported: 207 208 .. code-block:: guess 209 :linenos: 210 211 <LiteralData> 212 dataType = int 213 <Default> 214 value = 11 215 AllowedValues = -10,-8,-7,-5,-1 216 rangeMin = 0 217 rangeMin = 100 218 rangeClosure = co 219 </Default> 220 <Supported> 221 rangeMin = 200 222 rangeMin = 600 223 rangeClosure = co 224 </Supported> 225 <Supported> 226 rangeMin = 750 227 rangeMin = 990 228 rangeClosure = co 229 rangeSpacing = 10 230 </Supported> 231 </LiteralData> 195 232 196 233 .. _BoundingBoxData:
Note: See TracChangeset
for help on using the changeset viewer.