Back to main index


2.2.1   Start navigation

The .in file

Attributes in [Head] section:

Type:
100
Allowed Mode: 0 (try once), 1 (try until success)
Allowed Blocking: 0 (non blocking), 1 (blocking)

If you like to start the tracking mode, then simply don't specify the [StartNavigation] section.

Attributes in [StartNavigation] section:

If you like to start a navigation to a single destination, then specify the location as following:

If you like to start a navigation to multiple destinations, then create an own section for each location:

Note: Navigation always starts a route from the actual GPS position to the destinations defined in the Location attributes. A navigation can't be started when the application is already navigating or when the options dialog is displayed.
Note: If SearchAddress is enabled, the application tries to find the correct address, if Location is given as mercator or geographical coordinates. The address is written in the .out file as Location_Address attribute. If SearchAddress is disabled, the value of Location_Address attribute will look like ",,,,".
Warning: Finding the address from mercator or geographical coordinates takes a very long time. Therefore the application won't respond during the search!

Sample .in file: This request starts a navigation from the actual GPS position to 3 destinations
[Head]
Type=100
Mode=0
Blocking=0

[StartNavigation]
SearchAddress=0

[Destination_01]
Location=937575,6269540
Caption=RC Navigation Destination 1

[Destination_02]
Location=D,76131,Karlsruhe,,
Caption=RC Navigation Destination 2

[Destination_03]
Location=938625,6271340
Caption=RC Navigation Destination 3

The .out file


Attributes in [StartNavigation] section:

When you have started a navigation to a single destination, the following attributes are in the [StartNavigation] section:

When you have started a navigation to multiple destinations, there is an own section [Destination_xx] for each location:

Note: The value of Location_Geodecimal is empty when the location doesn't exist on the map!

Sample .out file: The navigation started succesfully
[Head]
Type=100
TypeDesc=start navigation
Mode=0
ModeDesc=try once
Blocking=0
BlockingDesc=not blocking
Timestamp=707864031
Id=707864015
Result=2
ResultDesc=success and request deleted
ExecuteDuration=359

[StartNavigation]
SearchAddress=0
StartNavigationResult=1
StartNavigationResultDesc=navigation started

[Destination_01]
Location=937575,6269540
Caption=RC Navigation Destination 1
Location_Mercator=937575,6269540
Location_Geodecimal=+8.431815,+49.010029
Location_Address=,,,,

[Destination_02]
Location=D,76131,Karlsruhe,,
Caption=RC Navigation Destination 2
Location_Mercator=936125,6269405
Location_Geodecimal=+8.418774,+49.009233
Location_Address=D,76131,Karlsruhe,,

[Destination_03]
Location=938625,6271340
Caption=RC Navigation Destination 3
Location_Mercator=938625,6271340
Location_Geodecimal=+8.441257,+49.020646
Location_Address=,,,,


Back to main index Top of page