python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Color osmnx maps by place (using graph_from_place() method)
We plot 2 places:
# Get data
import osmnx as ox
place = ["Broughton Hackett", "Crowle"]
G = ox.graph_from_place(place, retain_all=True, simplify = True, network_type='all')
# Prep...
johnjohn
Votes: 0
Answers: 1
ox.graph_from_bbox() function of OSMNX library in python gives incomplete graph
I have a piece of code which provides the route from a source point to destination point.
In the below code, origin_lat and origin_long are the source coordinates and dest_lat and dest_long are the de...
Anuja Shetye
Votes: 0
Answers: 0
Open Street Map tag to grab all emerged land
I'm looking to download the geometries of all emerged land (everything within the coastal line) in Python using OSMNX, but can't seem to find a general tag that would do it.
Right now, I'm using:
...
Lucien S.
Votes: 0
Answers: 1
AttributeError: 'pandas' object has no attribute 'gen'
I am pretty new in programming. I am trying to get graphs from polygons from a shp-file. This code runs with another file. But in this file, some of the graph-names don't work. An error occurs that th...
Tauboga
Votes: 0
Answers: 2