Skip to content

wheelstransit/hongkong-community-gtfs

Repository files navigation

Hong Kong Community GTFS

License: MIT

Try the feed in action with Wheels Router Nano

An open-source, community-driven project to generate accurate and up-to-date procedural GTFS and GTFS-RT feeds for Hong Kong's public transport network.

Why?

Public transport data provided by official sources in Hong Kong is often fragmented, inaccurate, or incomplete. This project aims to solve that problem by creating a single, high-quality, and reliable set of GTFS feeds.

Who?

Currently realtime information as well as the code of Hong Kong Community GTFS is maintained by Wheels, an upcoming transit app by riders, for riders. For more information on Wheels, follow @anscg_ 😉

How

Instead of manual editing, this project generates the feeds procedurally. We combine data from open sources like OpenStreetMap with official data from portals like data.gov.hk to algorithmically build the GTFS files. This makes the process transparent, repeatable, and easier to keep up-to-date.

Hosted GTFS

https://feed.justusewheels.com/

License

This code of the project is licensed under the MIT License. See the LICENSE file for details.

However, the data produced by this project is a derivative of multiple sources and is licensed under the Open Database License (ODbL).

Data Source Attribution

This project would not be possible without the generous open data contributions from the following sources. In accordance with their terms, we provide the following attribution.

1. OpenStreetMap

This project uses data from OpenStreetMap. The data is available under the Open Database License (ODbL).

2. HKSAR Government's DATA.GOV.HK

This project uses datasets from the Hong Kong Special Administrative Region Government's public sector information portal, data.gov.hk.

  • The data is provided by various government departments and public/private organisations.
  • We acknowledge that the intellectual property rights in the data obtained from data.gov.hk are owned by the Government of the HKSAR.
  • Use of this data is subject to the "Terms and Conditions of Use" as published on https://data.gov.hk.

A quite large portion of the code was taken indirectly from hkbus/hk-bus-crawling and the waypoint part of it.

Journey time data (i.e. stop_times.txt) are generated from data generated with this code.

About

GTFS generation pipeline for major Hong Kong transit routes.

Resources

License

Stars

21 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors