PTV Navigator Remote Interface Documentation
Variables

Add a station to the target station list

Variables

final int MSG_RI_ADD_STATION = 100

Detailed Description

Add a station to the station list

Adds a station with the given name and position (in geodecimal format) to the station list.
Please note that stations can not be added in some situations:

Attention:

Adding a station will alter the current tour by adding the station at the end of the tour. Be sure to delete all stations from a previous route calculation to ensure that only the added stations are used for routing.

Sending bundle:

KeyValueType

Info

Name Name of the station String
MercPosX Deprecated, use Longitude instead. Mercator x position of the station int
MercPosY Deprecated, use Latitude instead. Mercator y position of the station int
GeoDezPosX Deprecated, use Longitude instead. Geodecimal x position (longitude) of the station double
GeoDezPosY Deprecated, use Latitude instead. Geodecimal y position (latitude) of the station double
Longitude Longitude of the station double
Latitude Latitude of the station double

Returned error codes:

RI_ERROR_NONE if everything is ok.
RI_ERROR_RI_DISABLED if the Remote Interface service is disabled and/or not licensed.
RI_ERROR_NOT_INITIALIZED if the Remote Interface service is not initialized yet.
RI_ERROR_INVALID_PARAMETER if one parameter is not valid.
RI_ERROR_NOT_ALLOWED if the adding is not allowed in the current activity.
RI_ERROR_NO_LICENSE if the navigator has no valid license.


© PTV Group 2023 Generated on Tue Dec 5 2023 14:56:26 for PTV Navigator Remote Interface Documentation by doxygen 1.7.3