Table 1.
The calculation procedures for the distances of all bike-sharing trips.
1 | Extract the bikeable road network in Beijing with OSMnx, which is denoted as where is the set of nodes, and is the set of links. |
2 | Define the sets of longitudes and latitudes of origins and destinations for bike sharing as and , respectively. |
3 | Find the nearest point locations of and from , denoted as and . |
4 | Input , and , utilizing Dijkstra algorithm to calculate the shortest paths of all bike-sharing trips. |
5 | Save the length of the shortest paths as . |