cesiumpy
cesiumpy copied to clipboard
Lazily instantiate geocoder
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 https://github.com/sinhrks/cesiumpy/issues/77. Related to https://github.com/sinhrks/cesiumpy/pull/79.
Should be merged to master, as CesiumPy is not usable without this