hnl-ai / hpdstats

A data tracker on the arrests of the Honolulu Police Department
https://hpdstats.com
3 stars 0 forks source link

Geolocation Issues #4

Closed tyliec closed 2 years ago

tyliec commented 3 years ago

Context

Currently, we leverage Mapquest as a way to to translate the addresses we read from the arrest records into latitude/longitude points on our map. There are issues with this approach, as some of our plotted points fall outside the island of Oahu. This could be because of a lack on context being provided to Mapquest, confusion with Hawaiian street names, or us just providing Mapquest the wrong query. Mapquest might also not be giving us the correct results (bad platform?).

Potential Solutions

  1. Use a different geocoding API
  2. Append "Oahu/HI" to our Mapquest queries (Provide location context)
  3. Try and clean up Hawaiian streetnames to meet whatever MapQuest is expecting
tyliec commented 2 years ago

https://developer.mapquest.com/documentation/common/forming-locations/

https://developer.mapquest.com/documentation/geocoding-api/address/post/#request_parameters-boundingBox