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

Add missing intersections #177

Open
basicNew opened this issue Feb 7, 2017 · 0 comments
Open

Add missing intersections #177

basicNew opened this issue Feb 7, 2017 · 0 comments

Comments

@basicNew
Copy link
Contributor

basicNew commented Feb 7, 2017

In OSM maps not all intersections are properly marked (even though streets overlap - see e.g. a map of La Plata, Argentina). We should add missing intersections by comparing street segments against each other. Note that this will require some computations and brute-forcing it wuould easily yield O(n²) (with n == number of nodes in the entire graph). See e.g. https://www.topcoder.com/community/data-science/data-science-tutorials/line-sweep-algorithms/ and http://www.geeksforgeeks.org/given-a-set-of-line-segments-find-if-any-two-segments-intersect/

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

No branches or pull requests

1 participant