ubarsc / kealib

KEALib provides an implementation of the GDAL data model. The format supports raster attribute tables, image pyramids, meta-data and in-built statistics while also handling very large files and compression throughout.
http://kealib.org/
MIT License
12 stars 7 forks source link

kealib and osgeo4w #29

Closed odgersn closed 1 year ago

odgersn commented 1 year ago

Novice question so please bear with me.

I'm on Windows and have installed kealib v. 1.4.14-1 and hdf5 v. 1.10.7-8 via osgeo4w. I can see that the osgeo4w installer has installed libkea.dll into OSGeo4W/bin/. But when I run gdalinfo --formats from the osgeo4w shell, I can't see the KEA format in the list. Is there something else I need to do to allow osgeo4w GDAL to recognise libkea?

gillins commented 1 year ago

Unfortunately I don't know much about osgeo4w, so we might have to try some things. Has the installer created a gdal_KEA.dll file anywhere? This is the library that makes KEA available to GDAL and is needed in addition to libkea.dll. If not, see if there is an option to install it. If that doesn't fix it you might need to check that your GDAL_DRIVER_PATH environment variable is set to the directory with gdal_KEA.dll in it... (I would have thought the installer would do this for you). Just pinging @bhjolly in case he knows more.

odgersn commented 1 year ago

Aha! Yes I can see now that gdal_KEA.dll is a separate plugin for the osgeo4w ecosystem. Will update my installation and see how we go.

odgersn commented 1 year ago

Installing the gdal_KEA.dll plugin from the osgeo4w installer works. :)