Versions Compared

Key

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

...

A set of time depedent locations can be configured int the LocationSets.xml file.  Below is een example file.

 

Code Block
xml
xml
<locationSet id="example">
	<csvFile>
	<file>myLocationFile</file>
	<geoDatum>Rijks Driehoekstelsel</geoDatum>
	<id>%ID%</id>
	<name>%NAME%</name>
	<description>Example of time dependent locations</description><startDateTime>%START%</startDateTime>
	<visibilityStartTime>%START%</visibilityStartTime>
	<visibilityEndTime>%EIND%</visibilityEndTime>--><endDateTime>%EIND%</endDateTime>
	<x>%X%</x>
	<y>%Y%</y>
	<relation id="relation">
		<relatedLocationId>%REL%</relatedLocationId>
	</relation>
	<attribute id="PARAMETERS">
		<text>%PARAMETERS%</text>
	</attribute>
	<attributeFile>
		<csvFile>attribute.csv</csvFile>
		<id>%ID%</id>
		<timeZoneOffset>+00:00</timeZoneOffset>
		<attribute id="Q">
		<number>%Q%</number>
	</attribute>
	</attributeFile>
	</csvFile>
</locationSet>

 

The tags visibilityStartTime and visibilityEndTime relate to a columns in the in the file mapLayers/myLocationFile.dbf.  The dbf file defines which locations are in the locationSet example.

The column ID defines the id of the location. The column NAME defines the name. The tag visibilityStarTime refers to the column START.

The tag visibiltyEndTime refers to the column END. The combination of both defines for which period this location is valid.

 

The tag relation with id relation defines a related location. The value is stored in the column REL. The value should be the location id of the related location.