-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding (some) actual route path waypoints data #6
Comments
It is interesting, while there is a license concern for the data from KMB directly. Although the data is publicly available, it doesn't imply we could store/crawl/use it in our application. 🥹 |
I suppose license is the concern, although it is for non-commercial purposes. Not sure if there's any information on that. Update: I don't think there's any information on KMB's website, the only way to know for sure might be by sending them an email. 😅 |
Not sure where the entry point is, would you have any related email address suggested? |
For queries for KMB, their email would be [email protected]. (Their chat bot gives this email address for queries) |
Greetings! I just tried hkbus.app, was also disappointed by the lack of bus routes, opened Has anyone asked and/or got any response? I really don't see any moral issue with doing this considering that
|
There might not be any moral issues but there might be lots of potential copyright issues. The actuate route way-point data are not explicitly licensed for public use like the ETA APIs on data.gov.hk despite everyone can see the operators' websites and apps. That said, I really hope the operators can open them up. Drawing pretty routes is great. If they could open up their "Solar Bus", "Electric Bus", and "Train/Bus Compartment Fullness" data that would be even better. |
Understood the concern. I did a bit more digging and found that the same data is actually available from CSDI (data.gov.hk), which does have a free-to-redistrubute license. The format is a bit more difficult to work with (natively in ESRI .gdb), and we would possibly need to build an API for query to make it useful, but would that be a more approachable path to start from? |
Oh that's cool, and there seems to be API for it as well. For example, KMB 1
There seem to be KMB, CTB & NLB routes, no MTR Bus, GMB & Trains tho. But that's a good start. |
Different direction uses a different |
PR is always welcome |
@chakflying You may add the
|
PR open in hkbus/hk-independent-bus-eta#78. |
I wonder whether this crawler is interested in adding support for actual route paths (waypoints data) into the crawling.
So far I've been able to scrap the waypoints of KMB routes via
https://m4.kmb.hk:8012/api
, with this data we'll be able to draw more beautiful routes on the map. (At least for routes that have waypoint data scrapable)With that hkbus.app can gain another pretty feature as well, instead of only connecting all the stops with straight lines.
The text was updated successfully, but these errors were encountered: