Back to main index

2.1.8   Get the favorites list

The .in file

Attributes in [Head] section:

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

Attributes in [FavoriteList] section:

Note: If SearchAddress is enabled, the application tries to find the correct addresses for all favorites. The addresses are written in the .out file as FavoriteLocationAddress attributes. If SearchAddress is disabled, the value of FavoriteLocationAddress attributes will look like ",,,,".
Warning: Finding the address from mercator coordinates or geodez-tupels takes a very long time. Therefore the application won't respond during the search!

Sample .in file: Get a list of all favorites
[Head]
Type=8
Mode=0
Blocking=0
[FavoriteList]
SearchAddress=0

The .out file

Attributes in [FavoriteList] section:

Sample .out file: There are currently 2 favorites: Number 1 was added via remote control interface, number 2 was added from a previous destination
[Head]
Type=8
TypeDesc=get favorite list
Mode=0
ModeDesc=try once
Blocking=0
BlockingDesc=not blocking
Timestamp=677255750
Id=677255546
Result=2
ResultDesc=success and request deleted
ExecuteDuration=156

[FavoriteList]
NumberOfFavorites=2
SearchAddress=0

[Favorite_1]
FavoriteID=677202297
FavoriteType=10
FavoriteTypeDesc=remote control
FavoriteCaption=Remote Control Favorite (Address)
FavoriteLocationMercator=937575,6269540
FavoriteLocationGeodecimal=+8.431815,+49.010029
FavoriteLocationAddress=,,,,

[Favorite_2]
FavoriteID=677202298
FavoriteType=5
FavoriteTypeDesc=previous destination
FavoriteCaption=Bahnhof Bad Schwartau
FavoriteLocationMercator=1189670,7146825
FavoriteLocationGeodecimal=+10.698959,+53.919002
FavoriteLocationAddress=,,,,


Back to main index Top of page