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

Group accident data by OSM intersection #1

Open
ramyaragupathy opened this issue Aug 5, 2016 · 2 comments
Open

Group accident data by OSM intersection #1

ramyaragupathy opened this issue Aug 5, 2016 · 2 comments

Comments

@ramyaragupathy
Copy link
Owner

Per chat w/ @emmagras, grouping accident data by OSM intersection would help us get good insights on the data.

Steps

  • Extract all OSM intersections
  • Find the number of accidents happening around each of these intersection
    • Turf might help?
    • For those happening along a stretch, associate it to the nearest intersection
  • Generate an output with accident data grouped by OSM intersection

cc @arunasank @maning

@emgrasmeder
Copy link

emgrasmeder commented Aug 5, 2016

For those happening along a stretch, associate it to the nearest intersection

I think you could also use something like probematch to match accidents to an OSM way if it is sufficiently far from an intersection.

@geohacker
Copy link

I've a pretty basic tile-reduce script that matches to OSM ways using OSM QA Tiles here https://gist.github.com/geohacker/f4d29deaaebd1c7949bb3baddf05bad5

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

3 participants