News for hackers. Stuff that matters.
Re:City street orientations around the world by n4r9 on Friday July 13, 2018 @07:53AM (#17522091)
I wonder how roundabouts in European cities would affect these plots, since in OSM they are often represented as a single way. The original post about this says:

"OSMnx automatically calculates all of the streets’ bearings. Specifically it calculates the compass bearing from each directed edge’s origin node u to its destination node v."

I suppose it depends what they mean by "directed edge". I'd expect it's what most modern routers use i.e. the portion of a way which goes between two junction nodes. Although it might mean literally every section of a way, which in some sense would be more accurate. Either way, you would expect roundabouts to bloat out the plot.

Re:City street orientations around the world by rmc on Friday July 13, 2018 @08:31AM (#17522339)
If OSMnx splits each way into sequences of "node N to node N+1", then the results are based on the number of node-node connections, not the number of ways.
Re:City street orientations around the world by n4r9 on Friday July 13, 2018 @08:51AM (#17522472)
That's probably how it's done. Makes some things like this easier, but other things (like routing) slower.