Closed tydonk closed 1 year ago
Thanks for using OSMnx! Your code isn't runnable (multiple undefined variables), so I cannot troubleshoot this. However, there doesn't appear to be any bug. Per the contributing guidelines, please ask usage questions on StackOverflow.
Contributing guidelines
Documentation
Existing issues
What operating system and Python version are you using?
macOS Ventura 13.1 / Python 3.11.5
What OSMnx version are you using?
1.6.0
Environment packages and versions
How did you install OSMnx?
Other (describe below)
Problem description
Trying to add additional values to highway key in street_widths dict in osmnx.plot.plot_figure_ground but they are not appearing on the map.
street_widths_xs = { "motorway": 0.75, "motorway_link": 0.75, "trunk": 0.5, "trunk_link": 0.5, "primary": 0.5, "primary_link": 0.5, "secondary": 0.25, "secondary_link": 0.25, "tertiary": 0.25, "tertiary_link": 0.25, "unclassified": 0.25, "residential": 0.25, "living_street": 0.25, "service": 0.1, "pedestrian": 0.1, "track": 0.1, "footway": 0.1, "steps": 0.1, "path": 0.1, }
Below is the map output:
Below is the map in OSM using "Query Features". The red line is listed as a residential road
Complete minimal reproducible example