Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async mode for geocoding #191

Open
MatthewCaseres opened this issue May 22, 2023 · 1 comment
Open

Async mode for geocoding #191

MatthewCaseres opened this issue May 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@MatthewCaseres
Copy link

MatthewCaseres commented May 22, 2023

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 MatthewCaseres added the enhancement New feature or request label May 22, 2023
@jessecambon
Copy link
Owner

jessecambon commented May 26, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants