Skip to content

Lazily instantiate geocoder#80

Open
erikreed wants to merge 1 commit into
sinhrks:masterfrom
erikreed:patch-1
Open

Lazily instantiate geocoder#80
erikreed wants to merge 1 commit into
sinhrks:masterfrom
erikreed:patch-1

Conversation

@erikreed
Copy link
Copy Markdown

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
Copy Markdown

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