jessecambon / tidygeocoder

Geocoding Made Easy
https://jessecambon.github.io/tidygeocoder
Other
283 stars 20 forks source link

Async mode for geocoding #191

Open MatthewCaseres opened 1 year ago

MatthewCaseres commented 1 year ago

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 1 year ago

@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