Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extracting public transport timetable and HOV lane #61

Open
ghost opened this issue Feb 24, 2022 · 4 comments
Open

extracting public transport timetable and HOV lane #61

ghost opened this issue Feb 24, 2022 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 24, 2022

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?

@pszufe
Copy link
Owner

pszufe commented Feb 24, 2022

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.

@ghost
Copy link
Author

ghost commented Feb 24, 2022

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?

@pszufe
Copy link
Owner

pszufe commented Feb 24, 2022

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

@ghost
Copy link
Author

ghost commented Feb 25, 2022

Hi again @pszufe Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant