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

Implement basic google geocoding #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

binyomen
Copy link
Contributor

This change will make a call to the Google Maps geocoding API to get the
canonical address text and latitude/longitude of the address.

This change will make a call to the Google Maps geocoding API to get the
canonical address text and latitude/longitude of the address.
@binyomen
Copy link
Contributor Author

binyomen commented Nov 12, 2017

As a note, this change by its nature ends up running some validation on addresses. If no actual addresses match the address text, it fails. If multiple addresses match the address text, it also fails. I think a good next step for me if we want to merge this in is to implement a way for ambiguous addresses to be resolved over sms and in the webform (#23), and for addresses which don't match any actual locations to properly handle their errors and ask for a retry. This way, we can confirm we have the correct address/location before sending out an alert.

@binyomen
Copy link
Contributor Author

binyomen commented Nov 12, 2017

Resolves: #22

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

Successfully merging this pull request may close these issues.

1 participant