Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

104
Views
Here Public Transport Routing Maximum Distance to Station not working

I am trying to query some public transport data from the here API. However, I am struggeling with when the origin point is far away from a station. In the API reference there is the pedestrian[distance] paramter. I, however, simply cant make it work.

enter image description here

This query for example:

https://transit.router.hereapi.com/v8/routes?apiKey=<API_KEY>origin=48.3787,16.5122&destination=48.211029313540855,16.347822689187193&modes=cityTrain&departureTime=2021-10-26T08:08:00&pedestrian[100000]

Return this:

enter image description here

Is there any way I can alway make sure to get a result. Even when the next station is e.g. 20 km far away?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

This is because your URL is not correctly formed, please try to use this one instead: https://transit.router.hereapi.com/v8/routes?apiKey={APIKEY}&origin=48.3787,16.5122&destination=48.211029313540855,16.347822689187193&modes=cityTrain&departureTime=2021-10-26T08:08:00&pedestrian[maxDistance]=6000

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!