有没有办法访问谷歌公共交通地图的数据库?
我想了解公共交通的数量和类型,以及每个公共交通在某个城市的停靠站。例如,我想要:
Number Type Stops
1 Metro Stop1.1, Stop1.2, Stop1.3, ...
6 Bus Stop6.1, Stop6.2, Stop6.3, ...
17 Tram Stop17.1, Stop17.2, Stop17.3, ...
... ... ...
当然,我并不真正关心格式,我只是想知道如何访问数据,以免在我的网站中手动重新输入数据!
感谢您的帮助:-)
I'd like to have access to the numbers and type of public transportation and for each of them, their stops of a certain city. So for instance, I'd like to have :
Number Type Stops
1 Metro Stop1.1, Stop1.2, Stop1.3, ...
6 Bus Stop6.1, Stop6.2, Stop6.3, ...
17 Tram Stop17.1, Stop17.2, Stop17.3, ...
... ... ...
Of course, I don't really care about the format, I just want to know how to have access to the data, in order to do not re-enter it manually in my website!
Thanks for any help :-)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
GTFS 数据交换
GTFS Data Exchange
GTFS Exchange 于 2016 年退役。
它对于不再更新/可用的旧 gtfs 文件仍然有用。不过,您现在应该参考以下数据库来获取静态 GTFS:
它们重叠很多但不完全,所以检查所有这些总是好的。另请注意,一些较小的交通机构仍然不与这些服务共享数据,因此值得检查他们的网站。
最后,据我所知,谷歌地图使用这些相同的文件作为源数据。在他们的 GTFS 参考页面中,他们提到了以下内容:
不过,对于实时更新,我认为 Google 使用 GTFS RealTime。
GTFS Exchange was retired in 2016.
It is still useful for legacy gtfs files that are not updated/available anymore. However, you should now refer to the following databases for static GTFS:
They overlap a lot but not completely, so it's always good to check all of them out. Also know that some smaller transit agencies still don't share their data with these services, so it's worth checking their website.
Finally, Google map uses these same files as their source data to my knowledge. In their reference page for GTFS, they mention the following:
For live updates though, I think that google uses GTFS RealTime.
有没有办法……总之,没有。此数据尚无法通过 Maps API 获得。
Is there a way... in a word, no. This data isn't available through the Maps API (yet).