Retrieve OSM way ID in itinenary

72 views
Skip to first unread message

Sasan Amini

unread,
May 5, 2021, 4:19:08 AM5/5/21
to OpenTripPlanner Users
Dear all,

I am relatively new user in OTP and have trizbles getting the OSM id of the traversed roads for CAR mode. Is there a way when building the graph replace the real name with IDs?

Thanks,
Sasan

Marko Roos

unread,
Jan 17, 2024, 9:25:48 AMJan 17
to OpenTripPlanner Users
I have the same question. Were you able to solve this, Sasan?


Op woensdag 5 mei 2021 om 10:19:08 UTC+2 schreef amin...@gmail.com:

Thomas Gran

unread,
Jan 18, 2024, 10:32:55 AMJan 18
to Marko Roos, OpenTripPlanner Users

To answer your question, I would instead add an option to OTP to store the ID (or the list of IDs) in a OTP. Not use an existing field. This information might use a bit of memory, so someone needs to find out how much so we can decide if we need to feature flag it. Also, you will need to find a person who can implement it. 

Thanks for using OTP, Thomas


--
You received this message because you are subscribed to the Google Groups "OpenTripPlanner Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/opentripplanner-users/48961a16-4c24-43b0-8f22-eb3360e2e9fdn%40googlegroups.com.

Andrew Byrd

unread,
Jan 21, 2024, 7:03:25 AMJan 21
to Thomas Gran, Marko Roos, OpenTripPlanner Users
Based on the requests here and discussion on the Gitter chat, I created the following draft pull request as a quick fix / example for anyone who needs access to way IDs:

-Andrew
Reply all
Reply to author
Forward
0 new messages