...
What | Locations.xml |
---|---|
Required | yes |
Description | Definitions of all locations |
schema location | httphttps://fewsfewsdocs.wldelftdeltares.nl/schemas/version1.0/locations.xsd |
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:
...
optional element to customize the location label in the main map display.
You can use the following tags:
%ID%, %NAME%, %DESCRIPTION%, %LAST_VALUE%, %LAST_VALUE_TIME%,
%FORECAST_START_TIME%, %MAXIMUM_VALUE%, %MAXIMUM_VALUE_TIME%, %MINIMUM_VALUE%, %MINIMUM_VALUE_TIME%
An example:
No Format |
---|
<label>%NAME% %LAST_VALUE% %LAST_VALUE_TIME%</label>
|
or
No Format |
---|
<label>%NAME% max:%MAXIMUM_VALUE% min: %MINIMUM_VALUE% </label>
|
...
By default (if not defined) the following tool tip is used.
No Format |
---|
Name: %NAME%\n
Desc: %DESCRIPTION%\n
Last value \[%LAST_VALUE%\] Time \[%LAST_VALUE_TIME%\]\n
Forecast Start Time \[%FORECAST_START_TIME%\]\n
Maximum \[%MAXIMUM_VALUE%\] Time \[%MAXIMUM_VALUE_TIME%\]
|
A more advanced example is, using HTML (use the <BR> tag to start new line):
No Format |
---|
<toolTip><![CDATA[<html>
<table id="details">
<tr>
<td width="50" valign="top">ID</td>
<td width="5" valign="top">:</td>
<td width="200" valign="top">%ID%</td>
</tr>
<tr>
<td width="50" valign="top">Naam</td>
<td width="5" valign="top">:</td>
<td width="200" valign="top">%NAME%</td>
</tr>
<tr>
<td width="50" valign="top">Type</td>
<td width="5" valign="top">:</td>
<td width="200" valign="top">%DESCRIPTION%</td>
</tr>
<tr>
<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">
</a>
</td>
</tr>
<tr>
<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>
</td>
</tr>
</table>
</html>
]]></toolTip>
|
...