You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Function:

_Functionality to define related locations and how to use them in your configuration _

Where to Use?

Locations, LocationSets, Filters, DisplayGroups, Transformations

Why to Use?

To be able to simply relate series of several locations to each other, e.g. water levels to a weir, raingauge to a catchment etc.

Description:

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

Available since:

Delft-FEWS 201101

Contents

Overview

How to be used

Examples

LocationSets.xml

<locationSet id="my_locations">
  <esriShapeFile>
    <file>myLocDBF</file>
    <geoDatum>Rijks Driehoekstelsel</geoDatum>
    <id>%ID%</id>
    <name>%NAME%</name>
    <description>%TYPE%</description>
    <parentLocationId>%PARENT_ID%</parentLocationId>
    <x>%X%</x>
    <y>%Y%</y>
    <relation id="METEO">
      <relatedLocationId>%METEO%</relatedLocationId>
    </relation>
    <relation id="H_BOV">
      <relatedLocationId>%H_BOV%</relatedLocationId>
    </relation>
    <relation id="H_BEN">
      <relatedLocationId>%H_BEN%</relatedLocationId>
    </relation>
    <attribute id="regio">
      <text>%REGIO%</text>
    </attribute>
    <attribute id="type">
      <text>%TYPE%</text>
    </attribute>
    <attribute id="external_id">
      <text>%EXT_ID%</text>
    </attribute>
    <attribute id="parameter">
      <text>%PARAMETER%</text>
    </attribute>
    <attribute id="HMAX">
      <number>%HMAX%</number>
    </attribute>
    <attribute id="HMIN">
      <number>%HMIN%</number>
    </attribute>
  </esriShapeFile>
</locationSet>

h4 timeSeriesSets (in Filters, DisplayGroups and Transformations)

<timeSeriesSet>
  <moduleInstanceId>ImportCAW</moduleInstanceId>
  <valueType>scalar</valueType>
  <parameterId>P.meting</parameterId>
  <locationRelationId>METEO</locationRelationId>
  <locationSetId>my_locations</locationSetId>
  <timeSeriesType>external historical</timeSeriesType>
  <timeStep unit="nonequidistant"/>
  <readWriteMode>add originals</readWriteMode>
  <synchLevel>1</synchLevel>
</timeSeriesSet>

  • No labels