My Project
Variables
Geocode a given address (retrieve the position)

Geocode a given address. More...

Variables

static final int MSG_RI_GEOCODE = 500
 

Detailed Description

Geocode a given address.

Geocode (return the mercator position) from a given address.

Sending bundle:

Not all keys have to be set to get a valid result.

KeyValueType

Info

CC The country code of the country to search in (e.g. "DE") String
UsePTVIsoType Set to false if searching takes place in Europe, else set to true, default is: false boolean
PostCode The postcode to search for String
TownName The town name to search String
StreetName The street name to search String
HNr The house number to search for String

Returned bundle:

If a given street couldn't be found, the return value is the town center.

KeyValueType

Info

PosX The found mercator x position of the address int
PosY The found mercator y position of the address int
CC The found country code String
PostCode The found postcode String
TownName The found town name String
StreetName The found street name String
HNr The found housenumber String

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_IS_INITIALIZING 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_NO_RESULT_FOUND if the address couldn't be found.

RI_ERROR_NO_STREET_FOUND and a bundle of data if the search succeeded, but no street was found (return position is the town center).


© PTV Group 2021 Generated on Sun Oct 2 2022 19:28:23 for My Project by doxygen 1.8.17