Page tree
Skip to end of metadata
Go to start of metadata






Definitions of all locations

schema location

DELFT-FEWS is a location oriented system. All time series data must be referenced to a (geographic) location. This location must be identified by its geographic coordinates within the coordinate system used. When available on the file system, the name of the XML file is for example:

Locations 1.00 default.xml


Fixed file name for the locations configuration


Version number


Flag to indicate the version is the default configuration (otherwise omitted)

Figure 23 Elements in the Locations configuration

timeZone (available since build 25437)

Optional time zone for dates and times defined in the locations configuration file. If no time zone is defined, then dates and times are in GMT.


Definition of the geoDatum used in defining the locations. This may be different than the geoDatum used in the displays. For enumeration of geoDatums, see Appendix B.


Root element for the definition of each individual location. Multiple entries may be defined.


  • id: id of the location. This must be unique
  • name: name of the location used in displays and reports

Optional description of the location. This description will appear as a tool-tip when hovering over the location in the map display.


Optional short name for the location. This string when available will replace the name in the time series display legend.


optional element to customize the location label in the main map display.
You can use the following tags:

An example:

<label>%NAME%  %LAST_VALUE%   %LAST_VALUE_TIME%</label>


<label>%NAME%   max:%MAXIMUM_VALUE%  min: %MINIMUM_VALUE% </label>

optional element to customize the tooltip shown when hovering over a location in the main map display.

You can use use \n or CDATA or HTML when you need multiple lines. Beside tags defined in the file you can use the following tags:


The tooltip supports html including images and hyperlinks. The url in the hyper link can be an internet url, an executable file, a document file, or a folder. Use the CDATA xml tag to include html in a xml file. Check the available HTML functionalities here.

By default (if not defined) the following tool tip is used.

Name: %NAME%\n
Last value \[%LAST_VALUE%\] Time \[%LAST_VALUE_TIME%\]\n
Forecast Start Time \[%FORECAST_START_TIME%\]\n

A more advanced example is, using HTML (use the <BR> tag to start new line):

    <table id="details">
	<td width="50" valign="top">ID</td>
	<td width="5" valign="top">:</td>
	<td width="200" valign="top">%ID%</td>
	<td width="50" valign="top">Naam</td>
	<td width="5" valign="top">:</td>
	<td width="200" valign="top">%NAME%</td>
	<td width="50" valign="top">Type</td>
	<td width="5" valign="top">:</td>
	<td width="200" valign="top">%DESCRIPTION%</td>
	<td width="50" valign="top">Foto</td>
	<td width="5" valign="top">:</td>
	<td width="200" valign="top">
	   <a href="file:/$FOTOSDIR$/%ID%.jpg" >
		<img src="file:/$FOTOSDIR$/thumbs/%ID%.jpg" border="0">
	<td width="50" valign="top">Documentatie</td>
	<td width="5" valign="top">:</td>
	<td width="200" valign="top">
	   <a href="file:/$PDFDIR$/%ID%.pdf">%ID%.pdf</a>


Optional Id of a location that functions as a parent. In the filters child locations (locations that refer to a parent) are normally invisible. However, they are displayed in the graphs whenever a parent is selected. 

visibilityPeriod (available since build 25437)

Optional. This is the period for which a location is visible in the user interface. The start and the end of the period are inclusive. If no visibilityPeriod is defined for a location, then the location is visible for all times. Currently the visibility period is used in the map (explorer) window, the time series display and the spatial display.

  • startDateTime: the date and time of the start of the visibility period. The start of the period is inclusive. If startDateTime is not defined, then the location is visible for all times before endDateTime.
  • endDateTime: the date and time of the end of the visibility period. The end of the period is inclusive. If endDateTime is not defined, then the location is visible for all times after startDateTime.

Remark: the datetime pattern should be added to the locationSet definition! This (optional) dateTimePattern tag is used to define the pattern for the dateTimes defined in the DBF file. If dateTimePattern is not specified, then the default pattern "yyyyMMdd" is used, which is the internal format that a DBF file uses for columns of type 'D' (date columns).


Geographic coordinate of the location (Easting)


Geographic coordinate of the location (Northing)


Optional elevation of the location above the global reference.

The elevation defined will be used for converting a parameter supporting local and/or global datum. By convention the data stored in the DELFT-FEWS database is at the local datum. The elevation defined here is added when displaying/converting to a global datum.

The value defined for the elevation should be the gauge zero for river gauges where an exact level is important.

When using transformations and the datum needs to be converted and also a multiplier, divider and/or incrementer are defined in the time series set of the data, then the following equations are used.
When reading data from the database the calculation is:
value = (stored_value + z) * multiplier / divider + incrementer
When writing data to the database the multiplier, divider and incrementer of the time series set are not used, so the calculation is:
stored_value = value - z

All time series data in DELFT-FEWS must be referenced to a location. This is the case for all data types (scalar, longitudinal, grids & polygons).

For Grids and Longitudinal profiles, additional information may be required and defined in the grids and branches configurations respectively. For scalar and polygon time series no additional information is required.

  • No labels