jessecambon / tidygeocoder

Geocoding Made Easy

Home Page:https://jessecambon.github.io/tidygeocoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Async mode for geocoding

MatthewCaseres opened this issue · comments

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

@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