gboeing / osmnx-examples

Gallery of OSMnx tutorials, usage examples, and feature demonstations.
https://osmnx.readthedocs.io
MIT License
1.5k stars 519 forks source link

osmnx street network polar plot 1 bin backward than histogramas #43

Closed JewelR1401104 closed 3 years ago

JewelR1401104 commented 3 years ago

I am using osmnx version 0.14.1 . While I am making edge bearing histogram and polar plots, I see some difference as they don't seem similar. As an example in the image: As there are 30 bins in the histogram, each bin having 12 degrees, 0-12 degree have the street of (approx) 800. But in the polar rose, it shows more than 1500 in that direction. Why is that? It looks like the full polar plot is shifted 1 bin backwards. Is there any way to fix that? I am attaching the code and image below.

yz yz1 Capture

gboeing commented 3 years ago

Hi @JewelR1401104. Per the new issue template:

This issue tracker is for proposing new examples or specific changes to existing examples. Please ask "how-to" questions on https://stackoverflow.com/ instead... Any issues opened here will be automatically closed unless they propose new examples or specific changes to existing examples.

JewelR1401104 commented 3 years ago

Sure, Thank you. I have asked it on StackOverflow. Waiting for your kind response.