Skip to content

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