A graph representation of Tehran's bus network with 4,759 stations and 247 routes, covering BRT, regular, feeder, express, and special bus services.
The data follows a graph structure where each station is a node connected to neighboring stations. The key of each object is the station code.
Each station is represented by an object containing the following properties:
name: Station name in Persianlongitude: Longitude coordinatelatitude: Latitude coordinaterelations: List of connected stations with line and direction infopositions: List of positions for this station on each line and direction
Each relation represents a connection to a neighboring station on a specific line and direction:
"relations": [
{
"station": "4051",
"line": 312,
"is_forward": true
}
]| Field | Type | Description |
|---|---|---|
station |
string |
Station code of the neighboring station |
line |
integer |
Line number this relation belongs to |
is_forward |
boolean |
Direction of travel |
Each position entry indicates where this station is located on a specific line and direction:
"positions": [
{
"line": 312,
"is_forward": true,
"position": 21
}
]| Field | Type | Description |
|---|---|---|
line |
integer |
Line number |
is_forward |
boolean |
Direction of travel on this line |
position |
integer |
Station order number on this line (starts from 1) |
is_forward: true= Traveling in the main direction of the line (from origin to destination)is_forward: false= Traveling in the reverse direction (from destination to origin)
Note: A station may only exist in one direction on a given line. For example, station 2904 (پایانه آزادی یافت آباد) only exists in the reverse direction (is_forward: false) on line 375, but not in the forward direction.
| Type | Code Range | Count | Description |
|---|---|---|---|
| BRT Daytime | 101-110 | 10 | Main BRT lines with dedicated lanes |
| BRT Night | 901-910 | 9 | Night versions of BRT lines |
| BRT Special | 121-171 | 18 | Special BRT routes |
| Regular City Bus | 201-399 | 155 | Regular city bus lines covering neighborhoods and streets |
| Feeder Lines | 400-451 | 34 | Lines connecting residential areas to metro stations and terminals |
| Express Services | 701 | 1 | Limited-stop express service |
| Special Services | 802-827 | 20 | Special purpose lines (schools, hospitals, etc.) |
This data is licensed under the Open Data Commons License.