Skip to main content

All Questions

Tagged with
0 votes
1 answer
49 views

oneway:bicycle=no in OSMNX graph with network_type='bike'

I am working on an asssessment of bicycle infrastructure along common routes within european cities. In the process I encountered the following problem: Within Europe it is quite common to allow ...
FesterShinetop's user avatar
0 votes
1 answer
51 views

There is an avaliable sewage network from a city using osmnx.graph_from_place?

I would like to have access to the sewage network of a city in the world, knowing the elevations, locations of the sewers and the pipelines that connect them. The idea of ​​this is to use it in an ...
DJ Boltzmann's user avatar
0 votes
0 answers
33 views

Getting 'KeyError: 'crs'' when creating Geopandas data frame from a graph with osmnx

I extracted a list of nodes from Open Street Map using astar_path from Networkx. I am trying to create a geopandas data frame the path with that list of nodes. I am able to create a graph from the ...
cheesepanther's user avatar
0 votes
0 answers
43 views

How to create a route on a web map (Flask) using folium and osmnx?

So I want to create a website on Flask where users can create a route. I have no problem creating a route with just Folium, but I need to use nodes from the map so I decided to use OSMnx. However, ...
Dmitriy's user avatar
-1 votes
1 answer
76 views

Calling OSMNX Graph_From_Point function in a Flask Application results in an Infinite Loop

I am building a Flask application where the ultimate goal is to calculate the midpoint of two or more origin latitude and longitude coordinates. I am hoping to use the OSMNX python package to produce ...
Moises Herrera's user avatar
0 votes
0 answers
48 views

How do I efficiently apply a function that uses a fairly large NetworkX graph to each row of a Dask series?

I am currently facing this problem: I have a pandas (or dask) dataframe where one of the columns holds integer values representing the index of a node in a given NetworkX graph. The graph itself is ...
Alessandro Zanoli's user avatar
0 votes
1 answer
134 views

Why am I getting different length and travel time from OSMnx or networkx when comparing it with Google Maps?

I'm new working with OSM data, OSMnx and networkx libraries, so if there's a better way to accomplish on getting shortest path from A to B locations, I'll appreciate any advice. I'm trying to get ...
Gustacro's user avatar
0 votes
1 answer
211 views

Bus lines/routes from OpenStreetMaps using OSMnx

I am trying to obtain bus lines/routes from OpenStreetMap using OSMnx. For example busline 284 in Nootdorp, Netherlands: https://www.openstreetmap.org/relation/2024408#map=15/52.0463/4.3967&layers=...
laurens k's user avatar
0 votes
0 answers
33 views

Missing Norwegian car ferries in OSMnx

I am trying to create a driving network locally using OSMnx for all of Norway. However, I am struggling to get car ferries to work correctly. First of all, they don't get downloaded automatically, so ...
Trygve Leithe Svalheim's user avatar
0 votes
1 answer
153 views

Unable to import pyrosm and r5py even after installing these packages

I am working on a geospatial analysis project and I have been trying to install pyrosm and r5py. I installed both these packages successfully as advised in there documentation. But when I import these ...
Saro Khan's user avatar
0 votes
1 answer
395 views

osmnx query OpenStreetMap

I am using Python and I am trying to use osmnx to query OpenStreetMap and get data about the Italian city of Brescia. Here's the code I copied from the docs. import osmnx as ox place = "Brescia, ...
hellomynameisA's user avatar
1 vote
1 answer
95 views

Checking if shapely point is in given route from networkx

I want to check if a shapely Point is part of a route obtained by the shortest_path() function of networkx for the city of Aachen, Germany. I want to go from Node 7192074686 to node 32885719. In 2022, ...
chriko-fh's user avatar
1 vote
2 answers
823 views

OSMnx and NetworkX: How to find total length and travel_time for the same path?

I am using NetworkX version 3.1 and OSMnx version 1.5.1 I am sharing this information for anyone who may find this useful. I obtain a road driving graph from OpenStreetMap using OSMnx, and have been ...
Kevin P.'s user avatar
  • 1,448
0 votes
0 answers
167 views

Add GeoDataFrame Points to OSMnx graph and connect to closest node

I have a problem that I can't seem to connect my points (bronnen (sources)) from a gdf to a graph that I need for a shortest distance analysis. I want to check the shortest distance from my points to ...
FlorGIS's user avatar
1 vote
0 answers
49 views

Seaching Nodes depending on distance each nodes

I search for Nodes in Shibuya, Tokyo by OSMNX, Python. In my case, I want to find the nodes depending on each distance. I want to search 2 cases, distances between the nodes under 30m and over 100m, ...
Naohiro Miyaguchi's user avatar

15 30 50 per page
1
2 3 4 5
13