Skip to content

Geocoding #165

@jakehobbs

Description

@jakehobbs

Currently the coordinates for a geo-circle are automatically calculated on save based on the coordinates of the activists in that circle.

The activists table has lat/lng columns, but they are currently never updated automatically. This should ideally happen whenever an activist is saved IF they are a chapter member or organizer and their address, city, state, or zip code is changed.

The Google Places API should be used to perform the geocoding. We already have an API key set in prod:

GooglePlacesAPIKey = mustGetenv("GOOGLE_PLACES_API_KEY", "", false)

Additionally, it would be nice to get the coords for Chapters on-save based on their city name & country so that users (the international coordination working group) do not have to manually find and enter them.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions