hackoregon / data-science-pet-containers

Pet Containers for Data Scientists
MIT License
11 stars 1 forks source link

Provide API for returning ranked geocodes for an address #85

Closed znmeb closed 6 years ago

znmeb commented 6 years ago

The PostGIS TIGER / Line geocoder has the capability to return a ranked list of geocodes for a given address. The SQL can be found here: https://postgis.net/docs/Geocode.html. The Disaster Resilience team would like to use this as follows: (@sky-t, please correct me if I'm wrong!)

  1. A user enters an address.
  2. The geocoder returns the N best matches, where N is specified ahead of time.
  3. The user interface returns the list in some kind of selector and the user chooses one.
  4. The application then displays earthquake risk or other results.

Tasks:

  1. Build a geocoder. That's done; the code is in https://github.com/hackoregon/data-science-pet-containers/tree/master/examples/geocoding and I can provide a database backup. The example creates a container that can be used for local development / testing.
  2. Host the database on AWS. This would mean handing the database to DevOps and them queuing it for restore.
  3. Write an API that receives requests from the front end and responds with the geocoded list.
  4. Write the user interface.

I've got #1. But I'm turning on the Help Wanted sign for the rest of the tasks. /cc @DingoEatingFuzz @jaronheard @MikeTheCanuck