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

Create a "Distance From Fire Station" Feature Set #16

Closed
rtanaka1981 opened this Issue Oct 26, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@rtanaka1981
Collaborator

rtanaka1981 commented Oct 26, 2017

No description provided.

@andirs

This comment has been minimized.

Show comment
Hide comment
@andirs

andirs Oct 26, 2017

Collaborator

The idea is, to get a complete list of all fire stations in San Francisco. This might be cool for visualization purposes as well and could be visualized on top of the model visualization. The next step is finding the closest fire department for each data point in the masterdf and storing the distance.

Tasks:

  • Web scrape addresses of SF fire stations
  • Retrieve geolocations in same style as masterdf
  • Calculate simple distance metric between points and find nearest fire station
  • Retrieve driving distance between points and nearest fire station (pending API limits)
  • Merge with existing masterdf

Happy about any comments, hints, questions.

Collaborator

andirs commented Oct 26, 2017

The idea is, to get a complete list of all fire stations in San Francisco. This might be cool for visualization purposes as well and could be visualized on top of the model visualization. The next step is finding the closest fire department for each data point in the masterdf and storing the distance.

Tasks:

  • Web scrape addresses of SF fire stations
  • Retrieve geolocations in same style as masterdf
  • Calculate simple distance metric between points and find nearest fire station
  • Retrieve driving distance between points and nearest fire station (pending API limits)
  • Merge with existing masterdf

Happy about any comments, hints, questions.

@andirs

This comment has been minimized.

Show comment
Hide comment
@andirs

andirs Nov 2, 2017

Collaborator

Quick amend.

As suggested by Sam: OSRM could be used to compute driving distance.

  • Set-up OSRM backend
  • Use proxy of nearest haversine distance to route through local API
  • Prepare merge-ready csv file

In a live setting we could potentially set up an online instance of OSRM and perform any routing tasks 'on the go' as needed.

Collaborator

andirs commented Nov 2, 2017

Quick amend.

As suggested by Sam: OSRM could be used to compute driving distance.

  • Set-up OSRM backend
  • Use proxy of nearest haversine distance to route through local API
  • Prepare merge-ready csv file

In a live setting we could potentially set up an online instance of OSRM and perform any routing tasks 'on the go' as needed.

@andirs andirs closed this Nov 10, 2017

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