locationtech / rasterframes

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

Upgrade to GDAL 3.x #505

Open metasim opened 3 years ago

hrodmn commented 2 years ago

Hi! Is pyrasterframes still incompatible with GDAL 3.X?

pomadchin commented 2 years ago

hey @hrodmn it is compatible, see the compat matrix here: https://github.com/geotrellis/gdal-warp-bindings

However, if you'd like to use the most up to date GDAL you can symlink to point to the file name it expects, i.e.:

ln -s /srv/conda/envs/notebook/lib/libgdal.so.30 /srv/conda/envs/notebook/lib/libgdal.so.27
hrodmn commented 2 years ago

Thanks @pomadchin - I successfully created the symlink and now everything is working.

I am running GDAL 3.4.0 on Ubuntu 20.04 and used this command:

sudo ln -s /usr/lib/libgdal.so.30.0.0 /usr/lib/libgdal.so.27