This project is to fetch the waypoints from CSDI. It is daily synced to the sources and launched in gh-pages.
During the crawling, it will minified the result by truncating to 5 decimal places, (i.e., ±1m), and minified the json by cleaning useless space characters. Also, as the data is provided statically by waypoints
, the data transfer supports Content-Encoding: gzip
for largely preserving your bandwidth.
Links are in this format:
Example link: https://waypoints.hkbuseta.com/waypoints/1001-O.json
Daily fetched GeoJSONs are in gh-pages.
To install the dependencies,
pip install -r ./crawling/requirements.txt
To fetch data, run the followings,
python ./waypoints.py
This repository is forked from hkbus/route-waypoints.
Please kindly state you are using this app as
HK Bus Crawling@2021, https://github.com/hkbus/route-waypoints