CartoDB / dataservices-api

The CARTO Data Services API
https://carto.com/docs/carto-engine/dataservices-api/
BSD 3-Clause "New" or "Revised" License
22 stars 14 forks source link

Geocoder Cache #460

Open hannahblue opened 6 years ago

hannahblue commented 6 years ago

Context

Currently we use the API for every geocode even if it's an address we've geocoded before. This is costly for both us and our customers. It is particularly problematic in sync tables where the entire table gets geocoded on every sync (issue here).

@antoniocarlon has begun developing the functionality to cache geocoding results so that new geocodes can query the cache first and then hit the data service provider for anything that wasn't in the cache (link).

To do

cc @antoniocarlon, @juanignaciosl

juanignaciosl commented 6 years ago

For address normalization, we could consider pypostal (which is taken into account by @andy-esch for CartoDB/cartoframes/issues/377).

hannahblue commented 6 years ago

Geocoding from cached geocodes is apparently against our Mapbox contract. Let's hold off on it for now.