Skip to content Skip to sidebar Skip to footer

The Osmnx Python Graph_to_gdfs Sometimes Returns A List In The Name Column, What's Causing This?

I'm using OSmnx to create some nice maps where I color streets based on the name of the street, inspired by puntofisso (eg: if it's a street, it needs to be red, a lane is green, e

Solution 1:

Given the arguments you passed to graph_from_address, you've left the simplify=True default parameterization. Therefore your graph was simplified when created. From the docs on simplification:

Some of the resulting consolidated edges may comprise multiple OSM ways, and if so, their multiple attribute values are stored as a list.

Post a Comment for "The Osmnx Python Graph_to_gdfs Sometimes Returns A List In The Name Column, What's Causing This?"