Router for Warsaw's public bike system (Veturilo) that splits every journey into sub 20 min legs, in order to be eligable for free tier of renting.
/dijkstra/<id1>/<id2>
a route between 2 stations/<id1>
all stations within 20 min ofid1
/closest/<lat>/<lon>
util for getting closest station to your location
There is also a very simplistic web interface at /static/router.html
and /static/map.html
download.py
this downloads GBFS dataosrm_matrix.py
with running OSRM server, see this file for instructionsto_sql.py
to create databaseto_name_keys.py
webserver.py
is the entrypoint that contains the app.
GBFS: https://gbfs.nextbike.net/maps/gbfs/v2/nextbike_vp/pl/station_information.json
nextbike_vp
Warszawa -new api-nextbike_or
Pruszkównextbike_pi
Piasecznonextbike_os
Otwocknextbike_gp
Grodzisk Mazowiecki
nextbike_zy
Żyrardów