Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iowa crooked street #19

Open
6 tasks done
vr00n opened this issue Apr 6, 2018 · 6 comments
Open
6 tasks done

Iowa crooked street #19

vr00n opened this issue Apr 6, 2018 · 6 comments

Comments

@vr00n
Copy link
Member

vr00n commented Apr 6, 2018

To test later

  1. Iowa is home to the most crooked street in the world—Snake Alley in Burlington. The street was designed to link the downtown area with the shopping district. Because of the angle and sharp turns, it is restricted to one-way traffic only—downhill.

How to submit an issue?

  • Have you checked previously open/closed issues to see if your question has already been asked & addressed?
    • If there is an open issue similar to your issue. Comment on that open issue with additional detail indicating that you too are having the same issue. This allows the project sponsor to prioritize incoming issues.
  • Have you provided a clear description of your issue so that the project sponsor is able to answer all your questions with as few back-n-forths as possible?
  • (Please acknowledge by checking this box) If a screenshot or visual helps better communicate some complex idea, have you provided one?. Draw.io, Lucidchart, and Autodraw are some excellent and quick drawing tools.
  • (Please acknowledge by checking this box) When an issue is resolved, please post the steps to resolution or clearly describe the resolution before marking the issue closed.
    • This will help future SOLVERS read through how your issue was solved and may help them solve their issue quicker.
  • Have you been kind, courteous, and considerate in your questions?
  • Have you considered using Stackedit.io, a handy tool to quickly write in markdown?
@vr00n
Copy link
Member Author

vr00n commented Apr 9, 2018

@ywnch The RadRoads Curviest output for Burlington, IA is as follows:

Curviest road: Mason Road Apartments
road dist.: 360.65
shortest dist.: 8.31
sinuosity: 43.42282

      distance      length                                     name  sinuosity
54    8.305500  360.648192                    Mason Road Apartments  43.422817
179  81.492696  569.886288  [u'Newbury Circle', u'Columbia Street']   6.993097
35   78.506624  529.443527        [u'Herblo Drive', u'Bock Street']   6.743934
313  80.083217  504.927926        [u'Easy Street', u'Randall Lane']   6.305041
217  68.791401  413.029163                           Indian Terrace   6.004081 

Snake Alley is represented as https://www.openstreetmap.org/way/15882296

Can you check why this has not been included on our output?

@ywnch
Copy link
Collaborator

ywnch commented Apr 9, 2018

A very quick guess from existing limitation is that the terminal nodes of the roads are not extracted correctly. This limitation still takes some time to fix. One example is a road having multiple lanes and thus edges, if the function ends up grabbing nodes that are close to each other, then the sinuosity increased drastically. The sinuosity for snake alley is 1.44 calculated by hand, in this case, may be squeezed all the way down by inaccurate results.
I might look into whether querying and grouping by osmid provides a solution. Currently,
Lombard Street does not show up in SF either.

@vr00n
Copy link
Member Author

vr00n commented Apr 9, 2018

Seems like Snake Alley is not included in
G = ox.graph_from_place(query=city, network_type=ntype, which_result=n)

I even tried changing ntype to all - no dice :/

image

image

@ywnch
Copy link
Collaborator

ywnch commented Apr 9, 2018

For this one, I just fixed it. The previous script was mistakenly locked with "drive" ntype, while Snake Alley is a service road. The new script should be able to return the network correctly with specified ntype (now required as input).
Will look into the larger issue some other time.

@vr00n
Copy link
Member Author

vr00n commented Apr 9, 2018

Confirmed. OK i will keep this open until we are able to use Snake Alley as a baseline for most curvy....

image

@ywnch
Copy link
Collaborator

ywnch commented Apr 9, 2018

Thanks for validating!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants