We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I am working with the OSM for Germany. I loaded the pbf.-file succesfully. However, converting the data into a graph is too time consuming.
How can I speed up the process?
I am attaching my code for more details. Thank you for your support.
import os from pyrosm import OSM, get_data import osmnx as ox import networkx as nx os.chdir(r"my_path") pbf = "germany-latest.osm.pbf" osm = OSM(pbf) print(type(osm)) nodes, edges = osm.get_network(nodes=True, network_type="driving") G = osm.to_graph(nodes, edges, graph_type="networkx")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I am working with the OSM for Germany. I loaded the pbf.-file succesfully. However, converting the data into a graph is too time consuming.
How can I speed up the process?
I am attaching my code for more details. Thank you for your support.
The text was updated successfully, but these errors were encountered: