Async mode for geocoding
MatthewCaseres opened this issue · 1 comments
MatthewCaseres commented
Description
pygeo has an async mode. It seems like we are not using Promise.all in our geocoding, is it possible to do this?
Motivation
Faster geocoding
edit: batch geocoding may solve the same problem
jessecambon commented
@MatthewCaseres yes I think it's possible although you might want to check with the geocoding service you are using to see what their usage policies and limitations are regarding concurrent queries. Also, as you note, batch geocoding would probably be a better route to go if available.
You can see the default query speed limitations tidygeocoder applies to comply with usage policies here:
https://jessecambon.github.io/tidygeocoder/articles/geocoder_services.html#minimum-time-per-query