Skip to content

Table of Contents

georouting.routers.tomtom

TomTomRouter Objects

1
class TomTomRouter(WebRouter)

TomTom router.

Provides access to TomTom Routing and Matrix APIs to retrieve routes and distance matrices with a unified interface.

get_route

1
def get_route(origin, destination)

Return a Route object representing the path between origin and destination.

get_distance_matrix

1
def get_distance_matrix(origins, destinations, append_od=False)

Return a Pandas dataframe of durations and distances for all origin/destination pairs.