首页 > 解决方案 > 是否可以通过HERE transit-api 获取一个城市的所有车站?

问题描述

我正在尝试通过这里的transit-api定位一个城市的所有车站, 但似乎最大结果数(50)存在限制。你知道其他方法吗?非常感谢!

标签: here-api

解决方案


这是定位附近中转站的准确 API,但一次只能返回 50 个。另一种方法是改变城市的中心和半径来计算所有的中转站。

https://developer.here.com/documentation/examples/rest/public_transit/station-search-proximity

https://transit.api.here.com/v3/stations/by_geocoord.json?center=52.520501,13.403565&radius=1000&max=50&app_id=xxxx&app_code=xxxxx


推荐阅读