Navteq MapTP MatrixRouting Service
The MapTP MatrixRouting Service is a special routing service that accepts N locations as input and calculates all routes from each of the given N locations to the N-1 other locations.
Two common use cases:
- Tour optimization: The MapTP MatrixRouting Service allows to create a matrix of all distances between N locations in just N calls (linear calculation costs). Distance matrices are most often used as input to algorithms for tour optimization.
- Finding the nearest location: The MapTP MatrixRouting Service answer questions such as "What is the nearest shop out of a list of N shops relative to my current location?". The MapTP MatrixRouting Service answers a question like that based on the driving time or based on the driving distance.
Operations of the NAVTEQ MapTP MatrixRouting Service
The MapTP MatrixRouting Service offers the following operations:
- calculateMRoutesMatrix: Calculates routes from each of the given N coordinates to the N-1 other coordinates. For each calculated route a MRouteID is returned that can be used in a subsequent calculateMRoute request to retrieve more detailed information on a single route.
- calculateMRoutesVector: Calculates routes from one start point to all given destination points. For each calculated route a MRouteID is returned that can be used in a subsequent calculateMRoute request to retrieve more detailed information on a single route.
- calculateMRoute: After calculating routes with a calculateMRoutesVector or calculateMRoutesMatrix operation, you can use the calculateMRoute operation to retrieve information on one single route, passing the MRouteID in the request. The route information will be stored on the server for 45 minutes. The returned RouteID can be used to identify the route in subsequent requests.
In addition, the MapTP MatrixRouting Service offers the following operations for sending asynchronous requests. See Asynchronous Request Processing for general information.
- _async_calculateMRoutesMatrix: Asynchronous version of the calculateMRoutesMatrix operation.
- _async_calculateMRoutesVector: Asynchronous version of the calculateMRoutesVector operation.
- _async_calculateMRoute: Asynchronous version of the calculateMRoute operation.
- _async_job_status: Operation for retrieving the status of a job on the server.
- _async_job_retrieve_calculateMRoutesMatrix: Operation for retrieving the result of an _async_calculateMRoutesMatrix operation.
- _async_job_retrieve_calculateMRoutesVector: Operation for retrieving the result of an _async_calculateMRoutesVector operation.
- _async_job_retrieve_calculateMRoute: Operation for retrieving the result of an _async_calculateMRoute operation.
SOAP Interface
The WSDL document for the MapTP MatrixRouting Web Service is for example available at:
http://maptp12.map24.com/map24/webservices1.5?soap=Map24MatrixRouting
Note: The given server URL (maptp12.map24.com) is just an example. The actual server URL to use will be given to you when registering as a customer of MapTP products.
Examples
SOAP example requests and responses can be found here.
|