Back to main index

2.2.5   Start route planning

The .in file

Attributes in [Head] section:

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

Attributes in [StartRoutePlanning] section:

Note: If SearchAddress is enabled, the application tries to find the correct address, if LocationFrom/LocationTo are given as mercator coordinates or geodez-tupel. The addresses are written in the .out file as LocationFromAddress/LocationToAddress attributes. If SearchAddress is disabled, the values of LocationFromAddress/LocationToAddress attributes will look like ",,,,".
Warning: Finding the addresses from mercator-coordinates or geodez-tupels takes a very long time. Therefore the application won't respond during the search!

Sample .in file: This request starts a route planning and shows the itinerary without durations
[Head]
Type=104
Mode=0
Blocking=0

[StartRoutePlanning]
LocationFrom=938650,6271155
CaptionFrom=(RC) Map&Guide
LocationTo=D,76131,Karlsruhe,Durlacher Tor,
CaptionTo=(RC) Durlacher Tor
Vehicle=0
Optimisation=2
ShowItinerary=1
ItineraryDuration=0

The .out file

Attributes in [StartRoutePlanning] section:

Sample .out file: The route planning started succesfully
[Head]
Type=104
TypeDesc=start route planning
Mode=0
ModeDesc=try once
Blocking=0
BlockingDesc=not blocking
Timestamp=945743875
Id=945743843
Result=2
ResultDesc=success and request deleted
ExecuteDuration=531

[StartRoutePlanning]
LocationFrom=938650,6271155
CaptionFrom=(RC) Map&Guide
LocationTo=D,76131,Karlsruhe,Durlacher Tor,
CaptionTo=(RC) Durlacher Tor
SearchAddress=0
Vehicle=0
Optimisation=2
StartRoutePlanningResult=1
StartRoutePlanningResultDesc=route planning started
LocationFromMercator=938650,6271155
LocationFromGeodecimal=+8.441482,+49.019555
LocationFromAddress=,,,,
LocationToMercator=935900,6269380
LocationToGeodecimal=+8.416751,+49.009086
LocationToAddress=,,,,
NumberOfManoeuvres=9
TotalDuration=294
TotalRoad=2384

[station_1]
ManoeuvreText=Continue
Road=0
Direction=-90
Coordinates=938555,6271205

[station_2]
ManoeuvreText=Turn right
Road=146
Direction=0
Coordinates=938755,6271105

[station_3]
ManoeuvreText=Turn left into Hirtenweg
Road=341
Direction=218
Coordinates=938530,6270910

[station_4]
ManoeuvreText=Turn left into Haid-und-Neu-Straße
Road=359
Direction=-21
Coordinates=938555,6270900

[station_5]
ManoeuvreText=Keep driving straight ahead
Road=1825
Direction=194
Coordinates=936645,6269785

[station_6]
ManoeuvreText=Keep left on Karl-Wilhelm-Straße
Road=2204
Direction=180
Coordinates=936150,6269495

[station_7]
ManoeuvreText=keep right on Adenauerring
Road=2337
Direction=243
Coordinates=935980,6269435

[station_8]
ManoeuvreText=Turn right into Durlacher Tor
Road=2384
Direction=233
Coordinates=935940,6269380

[station_9]
ManoeuvreText=You have reached your destination!
Road=2384
Direction=180
Coordinates=935900,6269380


Back to main index Top of page