PTV Navigator Remote Interface Documentation
|
Variables | |
final int | MSG_RI_INVGEOCODE = 501 |
inverse geocode a given address
Inverse geocode (return town name, street name and so on) from a given mercator or geodecimal position.
Compatibility mode (MSG_RI_SET_COMPATIBILITY_MODE) set to true:
Key | Value | Type | Info |
---|---|---|---|
MercPosX | The mercator x position to search an address for | int | |
MercPosY | The mercator y position to search an address for | int | |
GeoDezPosX | The geodecimal x (longitude) position to search an address for | double | optional |
GeoDezPosY | The geodecimal y (latitude) position to search an address for | double | optional |
Compatibility mode (MSG_RI_SET_COMPATIBILITY_MODE) set to false:
Key | Value | Type | Info |
---|---|---|---|
Latitude | The latitude of the search position | double | |
Longitude | The longitude of the search position | double |
Depending on the position, not all fields will return a result.
Key | Value | Type | Info |
---|---|---|---|
CC | The found country code | String | |
ISO3166a2 | The found country code as ISO3166a2 standard | String | |
PostCode | The found postcode | String | |
TownName | The found town name | String | |
StreetName | The found street name | String | |
HNr | The found housenumber | String |
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_LONGTIME_OPERATION_IN_PROGRESS as long as the PTV Navigator is searching the result.
RI_ERROR_INVGEOCODE_FAILED on error.
RI_ERROR_NO_RESULT_FOUND if no result was found.
RI_ERROR_NO_LICENSE if the navigator has no valid license.
© PTV Group 2023 | Generated on Fri May 10 2024 10:16:00 for PTV Navigator Remote Interface Documentation by 1.7.3 |