locationtech / rasterframes

Geospatial Raster support for Spark DataFrames
http://rasterframes.io
Apache License 2.0
240 stars 46 forks source link

GDAL not available with rasterframes #606

Open arind123 opened 1 year ago

arind123 commented 1 year ago

I have a installation of GDAL. "from osgeo import gdal" works perfectly but when I try to run from pyrasterframes.utils import gdal_version print(gdal_version()) I get "not available" as output. I am running this in Databricks. Is there any working solution to this issue.

pomadchin commented 1 year ago

Hey @arind123, this is a dup issue in some sense, see https://github.com/locationtech/rasterframes/issues/605

You'd need to set a proper LD_LIBRARY_PATH as well as the correct GDAL version installed (at least to have a properly symlinked .so)