EarthObservation / RVT_py

Relief Visualization Toolbox in Python
Apache License 2.0
27 stars 6 forks source link

Update gdal import to pull from osgeo module #10

Closed H4estu closed 3 years ago

H4estu commented 3 years ago

Changes gdal import in rvt/multiproc.py to the recommended usage (since GDAL 3.1). This resolves gdal import issues when using GDAL > 3.1 and matches the import syntax used in rvt/default.py. This doesn't maintain backward compatibility with the global gdal import, however.

zm8597 commented 3 years ago

Thank you! 😃

zm8597 commented 3 years ago

Keep in mind that rvt/multiproc.py is experimental module. It contains a lot of bugs and ugly code 😅