Road Network

There are 138 locations in the network that this service provides; each is labelled with an integer index. These indexes starting from 0 and increase monotonically until 137 (inclusive) - the index of a location does not necessarily bear any correlation to its physical location, region, name, etc.

Two services are provided to give you access to the connections between the locations, and information about the locations themselves.

The road-network/information service provides information about a location given its index. Information about multiple locations can be requested at once if necessary. The response is a csv file with five columns; "index", "name", "depot" "x", "y";

The road-network/connections service provides the edge table of connections between the locations. It does not accept any parameters to its queries - it always provides the complete edge table as a csv file with three columns;

Querying

To query for information about the locations with indexes X, Y, and Z:

Query for the information about all locations:

To query for the edge table:

Parameters

Examples

Return format

The road-network/information service will return a .csv file with headers where each row contains the following information about the requested locations:

index, name, region, depot, x, y

Values in the columns are (respectively) of type int, str, str, bool, float, and float. Columns are not guaranteed to be in this order.

The road-network/connections service will return a .csv file with headers where each row describes a single (two-way) connection between locations:

index1, index2, travel time (mins)

Values in the columns are (respectively) of type int, int, and float.