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

Jupyter: map analysis for osm.pbf and physsim network #3758

Merged
merged 7 commits into from
Jun 27, 2023

Conversation

nikolayilyin
Copy link
Collaborator

No description provided.

@nikolayilyin
Copy link
Collaborator Author

test!

Copy link
Collaborator

@dimaopen dimaopen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A minor note wichi is up to you to implement.


# reading osm file

osm_map = pyrosm.OSM("../beam_root/test/input/sf-light/r5/sflight_muni.osm.pbf")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if we create an utility method that would check for existence beam_root, and if not found then it would use the project root? That allows not to run jupyter notebooks in a container but directly on the local machine.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see no point in that.
In my understanding the script will be used purely for inspiration and as a source for copy-pasting code.
Once the new code is created the paths will be the once required and not the paths from the script.

@nikolayilyin nikolayilyin merged commit 26b0a5c into develop Jun 27, 2023
@nikolayilyin nikolayilyin deleted the inm/jupyter-map-utils branch June 27, 2023 17:05
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

Successfully merging this pull request may close these issues.

2 participants