pszufe/OpenStreetMapX.jl

extracting public transport timetable and HOV lane

Opened this issue · 4 comments

Hi, Is there any specific command in OpenStreetMap.jl package to allow for extracting public transportation routes as well as their timetable? For example, the timetable and routes of all buses in New York City?
And how to extract all nodes in the network (like NYC) that are part of HOV lanes?

Hi, extracting public transportation routes would require extending the amount of data parsed from the XML file. This is not present in the library but should be relatively easy to do. The timetables are not present in the OSM data as far as I know so you should look for other data sources.

Hi @pszuf thank you. Can you please give me a bit of info on how to extend the amount of data parsed from the XML file? And do you know any data resources for timetable?

I guess the lines are presented as Ways and Relations just having a different type.
Hence you would need to extend the event handling in XML parsing at https://github.com/pszufe/OpenStreetMapX.jl/blob/master/src/parseMap.jl
Regarding data perhaps start with: https://www.transitwiki.org/TransitWiki/index.php/Publicly-accessible_public_transportation_data

Hi again @pszufe Thanks a lot!