focusconsulting / housing-insights

Bringing open data to affordable housing decision makers in Washington DC. A D3/Javascript based website to visualize data related to affordable housing in Washington DC. Data processing with Python.
http://housinginsights.org
MIT License
58 stars 110 forks source link

Checks for lat/lon before making api calls on project view #608

Open ostermanj opened 7 years ago

ostermanj commented 7 years ago

Avoids making bad API calls with null lat or lon data of project views. RE issue #604 .

Outstanding issue to resolve:

  1. We could try to resolve a lat/lon based on project address on the front end, but
  2. Isn't there a reason we haven't done that on the back?
  3. If we do neither 1 or 2 for now, we should display to the user that the data is missing rather than just having the fields not populate.

Thought?