2. Route Points

Functions


source

fetch_route_points

 fetch_route_points (route_id:str, sleep_duration:float=0.1)

Fetches geo-locations for a given BMTC route_id from the API.


source

convert_route_to_geojson

 convert_route_to_geojson (route, properties)

Converts route into a geojson Feature.


source

get_route_id

 get_route_id (filepath:pathlib.Path)

The filepath has route_id at the end.


source

task_fetch_route_points

 task_fetch_route_points (data_directory:pathlib.Path)