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

Given a service request with lat/lon data, show nearby service requests on its permalink page #75

Open
2 of 4 tasks
bensheldon opened this issue Aug 16, 2018 · 0 comments
Assignees

Comments

@bensheldon
Copy link
Owner

bensheldon commented Aug 16, 2018

  • Extract lat/lon attributes from ServiceRequest#raw_data (is an optional field in Open311)
  • Add column(s) to the service_requests table that stores and indexes ___location data
  • On ServiceRequest permalink page (controllers/cities/service_requests#show), if the current service request has ___location data, show a list of 5 nearby service requests. Can be the simplest list of links possible.
    • Nice to have: show the distance (in feet/miles/etc) between the current service request and the nearby ones.
hampelm added a commit to hampelm/open311status that referenced this issue Aug 19, 2018
bensheldon pushed a commit that referenced this issue Aug 20, 2018
* Ignore byebug logs

* Store lat-lngs from service requests for #75

* Move instructions for adding real data

* Rely on the raw_data setter to set geometry

* Match raw request

* Update README.md

* Use CircleCI postgis image

* Ensure postgis extension is enabled in migration

* Replace postgres with postgis in production db connection string
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