{"id":16148376,"url":"https://github.com/trishmapow/translink-gtfs-visualiser","last_synced_at":"2025-03-18T18:32:44.131Z","repository":{"id":91731831,"uuid":"226207304","full_name":"trishmapow/translink-gtfs-visualiser","owner":"trishmapow","description":"Plot realtime positions of TransLink vehicles on a map (matplotlib + OSM)","archived":false,"fork":false,"pushed_at":"2023-05-22T22:17:41.000Z","size":452,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T11:38:57.165Z","etag":null,"topics":["gtfs","gtfs-realtime","matplotlib","openstreetmap","public-transport"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trishmapow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-12-05T23:30:45.000Z","updated_at":"2024-08-12T19:55:29.000Z","dependencies_parsed_at":"2023-10-11T08:01:40.259Z","dependency_job_id":null,"html_url":"https://github.com/trishmapow/translink-gtfs-visualiser","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"83e83af3623eb3dfbc5ee835a29153d58e542277"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trishmapow%2Ftranslink-gtfs-visualiser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trishmapow%2Ftranslink-gtfs-visualiser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trishmapow%2Ftranslink-gtfs-visualiser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trishmapow%2Ftranslink-gtfs-visualiser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trishmapow","download_url":"https://codeload.github.com/trishmapow/translink-gtfs-visualiser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945478,"owners_count":20372894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gtfs","gtfs-realtime","matplotlib","openstreetmap","public-transport"],"created_at":"2024-10-10T00:33:06.300Z","updated_at":"2025-03-18T18:32:43.791Z","avatar_url":"https://github.com/trishmapow.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Translink GTFS Realtime Map\n\n![screenshot of matplotlib window](screenshot.png)\n\n## Dependencies\n`pip3 install -r requirements.txt`\n- matplotlib (main plotting lib)\n- requests\n- smopy (OSM tile downloads)\n- gtfs-realtime-bindings\n- protobuf3-to-dict\n\n## Usage\n1. Download GTFS static files ([TransLink](https://gtfsrt.api.translink.com.au/GTFS/SEQ_GTFS.zip)), unzip into SEQ_GTFS dir (configurable)\n2. Run `python3 feedparser.py`, will download and save OSM map to `MAP_FILENAME` for region defined in `BBOX`\n\n## Modifying for other feeds\n- Download correct GTFS static files\n- Edit `FEED_URL` in `feedparser.py`\n- Edit `BBOX` with coord bounds `(LONG_MIN, LONG_MAX, LAT_MIN, LAT_MAX)`, useful tool: https://www.openstreetmap.org/export\n- Edit `get_entity_type` function to return correct vehicle i.e. bus/train/ferry/etc from the GTFS dataset. \n  Otherwise simply replace with e.g. `return 'buses'` (all vehicles will be labelled as green dots)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrishmapow%2Ftranslink-gtfs-visualiser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrishmapow%2Ftranslink-gtfs-visualiser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrishmapow%2Ftranslink-gtfs-visualiser/lists"}