Ignore:
Timestamp:
May 1, 2014, 1:28:14 AM (10 years ago)
Author:
djay
Message:

Support metapath embedded in service name. Add support for accessing ZOO-Kernel path subdirectories for full list of available services. Fix issue #98.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/services/zcfg-reference.txt

    r463 r469  
    1919
    20201. Main Metadata information
    21 2. List of Inputs metadata information
     212. List of Inputs metadata information (optional since `rev. 469 <http://zoo-project.org/trac/changeset/469>`__)
    22223. List of Outputs metadata information
    2323
     
    112112- :ref:`ComplexData <ComplexData>`
    113113
    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.
     114Except for ``LiteralData``, each *Type Of Data* node must have at least one ``<Default>`` node. Even
     115if empty, it **has to be present**. So, something
     116like the following should be present in your ZCFG file:
     117
     118.. code-block:: guess
     119   :linenos:
     120
     121   <Default />
     122
     123Otherwise, ZOO-Kernel won't be able to parse your ZCFG correctly.
    125124
    126125.. _LiteralData:
     
    132131
    133132- one (optional) ``AllowedValues`` key containing all value allowed for this input
     133- one (optional) ``range`` properties containing the range (``[``, ``]``)
    134134- one (optional) ``rangeMin`` (``rangeMax``) properties containing the minimum (maximum) value of this range
    135135- one (optional) ``rangeSpacing`` properties containing the regular distance or spacing between value in this range
     
    178178   </LiteralData>
    179179
     180Or 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
    180191A typical ``<LiteralData>`` node, defining a ``string`` data type which
    181192support values ``hillshade``, ``slope``, ``aspect``, ``TRI``, ``TPI``
     
    192203
    193204Properties ``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
     206instance, 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>
    195232
    196233.. _BoundingBoxData:
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

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