Google Maps根据Stop ID提取公交信息 [英] Google Maps fetching transit information based on Stop ID

查看:168
本文介绍了Google Maps根据Stop ID提取公交信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个TTC站点(多伦多)的名称和站点ID.我想根据停靠站ID获取停靠站的其他信息.

I have got names and Stop IDs of several of TTC stops (Toronto). Based on the Stop ID, I want to get additional information on the stop.

例如根据所附图片,如果我输入Stop ID 2123,则需要运输方式(轻铁)和路线的信息(505).

E.g. Based on the attached picture, if I input the Stop ID 2123, I want the information of mode of transport (Light Rail) and the route (505).

我已经尝试了很多,但是无法在Google Maps和Google Transit中找到正确的API来获取数据.有人可以指出我正确的方向吗?我无法通过Google Maps网络界面手动进行此操作,因为有5000多个Stop ID.

I have tried a lot, but am not able to find the right API in Google Maps and Google Transit to fetch the data. Can someone please point me to the right direction? I can't do it manually through Google Maps web interface, as there are 5000+ Stop Ids.

期待一些指导. TIA

Look forward to some guidance. TIA

推荐答案

目前没有面向公众的端点可以通过Google Maps API获取此信息.我在Google问题跟踪器中看到了一项功能请求,以使此信息可用(当前为5星):

There is no public facing endpoint to get this information via Google Maps API at the moment. I've seen a feature request in the Google issue tracker to make this information available (5 stars currently):

https://issuetracker.google.com/issues/35827961

随时为功能请求加注星标,以增加您的投票.

Feel free to star the feature request to add your vote.

这篇关于Google Maps根据Stop ID提取公交信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆