Simple popudt Template File Example

Look at the GPS.popudt file in

C:\Program Files\Exail\DELPH INS\Templates

The template file begins with some informative data to document the template:

<?xml version="1.0" encoding="iso-8859-1"?>

<exportTemplate>

<title>GPS</title>

<author>Exail</author>

<version>1.0</version>

<description>

This template can be used to export from an Xpf file

the GPS data logged in packets of type InsGps version 3.

</description>

The default extension that is automatically added if the template is used with DELPH INS:

<recommendedExtension>.txt</recommendedExtension>

Definition of the xpf channels to be used in the template:

<dataSource id="main" defaultLabel="GPS" />

Header and footer allow adding comments in the output text file:

<header>

# DELPH INS GPS export\r\n

#\r\n

# date: Date of validity yyyy/mm/dd\r\n

# time: Time of validity hh:mm:ss.ssss\r\n

# gpsMode: GPS Quality indicator\r\n

# latitude: Latitude of antenna, decimal degrees\r\n

# longitude: Longitude of antenna, decimal degrees\r\n

# altitude: Altitude relative to the mean-sea-level (geoid), meters\r\n

# northingSd: Standard deviation on latitude, meters\r\n

# eastingSd: Standard deviation on longitude, meters\r\n

# altitudeSd: Standard deviation on altitude, meters\r\n

# northingEastingCv: Crossvariance between latitude and longitude, meters²\r\n

# geoidalSep: The difference between the ellipsoid and the geoid, meters\r\n

#\r\n

#date\ttime\tgpsMode\tlatitude\tlongitude\taltitude\tnorthingSd\teastingSd\taltitudeSd\tnorthingEastingCv\tgeoidalSep\r\n

</header>

Each record describes the syntax of the line:

<record primaryDataSource="main" fieldSeparator="\t" recordSeparator="\r\n">

 

The date field of the main channel is written in the first column, yearMonthDay format is yyyy/mm/dd hh:mm:ss.ssss with a tab character and 4 digits precision:

<field source="main.date">

<description>Absolute date time</description>

<formater type="timestamp" mode="absolute" notation="yearMonthDay" dateTimeSeparator="\t" precision="4" />

</field>

<field source="main.gpsMode">

<description>GPS Quality indicator</description>

</field>

<field source="main.latitude">

<description>Latitude of antenna, decimal degrees</description>

<formater type="numeric" precision="12" />

</field>

<field source="main.longitude">

<description>Longitude of antenna, decimal degrees</description>

<formater type="numeric" precision="12" />

</field>

<field source="main.altitude">

<description>Altitude relative to the mean-sea-level (geoid), meters</description>

</field>

<field source="main.northingSd">

<description>Standard deviation on latitude, meters</description>

</field>

<field source="main.eastingSd">

<description>Standard deviation on longitude, meters</description>

</field>

<field source="main.altitudeSd">

<description>Standard deviation on altitude, meters</description>

</field>

<field source="main.northingEastingCv">

<description>Crossvariance between latitude and longitude, meters²</description>

</field>

<field source="main.geoidalSep">

<description>The difference between the ellipsoid and the geoid, meters</description>

</field>

</record>

</exportTemplate>

For an example of coordinate transformation, look at the World Mercator projected navigation.popudt file in:

C:\Program Files\Exail\DELPH INS\Templates