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

Lazily instantiate geocoder #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

erikreed
Copy link

Currently, importing cesiumpy with geopy v2.0.0 or greater errors out. This is due to this change in v2.1.0 requiring an API key for geocoding.

This PR lazily loads the geocoder to prevent the immediate exception with geopy versions > 2.0.0.

Closes #77. Related to #79.

@dorvak
Copy link

dorvak commented Dec 27, 2022

Should be merged to master, as CesiumPy is not usable without this

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

Successfully merging this pull request may close these issues.

Example from README gives Google warning and shows nothing
2 participants