Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
hiddentrue

Specification of the function of the new feature (module, display): A detailed description of what the new feature does Functionality to define Locations, LocationSets, IdMaps, DisplayGroups, ThresholdValueSets and ValidationRuleSets from a DBF file

Function:

Functionality to define locations and to generate locationSets from a DBF file

Where to Use?

Locations, LocationSets, IdMaps, DisplayGroups, ThresholdValueSets and ValidationRuleSets

Why to Use?

To have only one file or a set of files where all region specific information is stored.

Description:

Based on the DBF or shape file you can easily manage the configuration

Available since:

DelftFEWS200803

...

  • attributeTextEquals
  • attributeTextContains
  • attributeTextStartsWith
  • idContains
  • attributeExists
  • etc (see schema)

For example:

No Format
<locationSet id="ST_K.meting" editable="false">
    <locationSetId>gegevensdump</locationSetId>
    <constraints>
      <not>
        <attributeTextEquals equals="" id="IDMAP_KLEP"/>
      </not>
      <attributeTextEquals equals="Stuwen" id="TYPE"/>
    </constraints>
</locationSet>

...

No Format
<locationIdFunction internalLocationSet="Meteo Stations" externalLocationFunction="<at:var at:name="region" />"/>
<locationIdPattern internalLocationSet="Pattern Stations" internalLocationPattern="H-*" externalLocationPattern="*"/>
<function internalLocationSet="Meteo Stations" internalParameter="Q.m" 

..
or
..
  <function externalLocationFunction="<at:var at:name="regionCITECTLOC" />" internalParameter="Q.meting" externalParameterFunction="PAR<at<at:var at:name="regionIDMAP_DEBIET" />" internalLocationSet="VV_Q.meting"/>

See that actual idMapping schema for all possible options.

Notice that you can use the location attributes as a function to map to the correct locations. You can create strings based on the attributes, like:

  • externalParameterFunction=""
  • externalParameterFunction="_"
  • externalParameterFunction="_DEBIET"

displayGroups

singleLocationDisplays
singleParentLocationDisplays

...