Changeset 459 for trunk/docs


Ignore:
Timestamp:
Apr 1, 2014, 11:32:29 PM (11 years ago)
Author:
djay
Message:

Initial introduction of Value and Range in AllowedValues?, update zcfg documentation. Return valid Status code when returning ExceptionRepport?.

File:
1 edited

Legend:

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

    r349 r459  
    131131A ``<LiteralData>`` node contains:
    132132
     133- one (optional) ``AllowedValues`` key containing all value allowed for this input
     134- one (optional) ``rangeMin`` (``rangeMin``) properties containing the minimum (maximum) value of this range
     135- one (optional) ``rangeSpacing`` properties containing the regular distance or spacing between value in this range
     136- one (optional) ``rangeClosure`` properties containing the closure type (``c``,``o``,``oc``,``co``)
    133137- one ``<Default>`` node,
    134138- zero or more ``<Supported>`` nodes depending on the existence or the number of supported Units Of Measure (UOM), and
     
    159163   </LiteralData>
    160164
     165
     166A typical ``<LiteralData>`` node, defining a ``float`` data type which
     167should take values contained in ``[0.0,100.0]``, looks like the following:
     168.. code-block:: guess
     169   :linenos:
     170   
     171   <LiteralData>
     172     dataType = float
     173     rangeMin = 0.0
     174     rangeMax = 100.0
     175     rangeClosure = c
     176     <Default />
     177   </LiteralData>
     178
     179A typical ``<LiteralData>`` node, defining a ``string`` data type which
     180support values ``hillshade``, ``slope``, ``aspect``, ``TRI``, ``TPI``
     181and ``roughness``, looks like the following:
     182.. code-block:: guess
     183   :linenos:
     184   
     185   <LiteralData>
     186     dataType = float
     187     AllowedValues = hillshade,slope,aspect,TRI,TPI,roughness
     188     <Default />
     189   </LiteralData>
     190
     191Properties``AllowedValues`` and ``range*`` can be conbined with both ``<Default>`` and
     192``<Supported>`` nodes in the same ``<LiteralData>`` node.
     193
    161194.. _BoundingBoxData:
    162195
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