Open ivn951 opened 1 year ago
@ivn951 There is some information here about building drivers as plugins here: https://gdal.org/development/building_from_source.html#build-drivers-as-plugins. I'd see if you can get that working, but you'd have to be comfortable building from source. ECW doesn't appear to be one of the drivers listed by cmake as supporting being built as a driver, but the CMakeLists.txt does set "PLUGIN_CAPABLE", whatever that means, probably worth digging into. Let us know how you get on, would be worth documenting this so other people who need proprietary drivers can do the same.
@gillins Thank you very much. I will try to investigate if I can find a documentable solution, also hoping someone else can help me solve the problem. I would like to avoid making installations of QGIS macOS from dmg and be able to install from conda-forge, multiple full versions in different independent environments, each with its own plugins, considering that there are no versions OSGeo4W for this OS.
ECW doesn't appear to be one of the drivers listed by cmake as supporting being built as a driver,
what makes you think so ? It can definitely been built as a plugin. Support of drivers requiring proprietary SDK is actually one of the main motivation for the plugin capability.
For some reason running cmake .. -L | grep -e "_ENABLE.*PLUGIN"
on GDAL master didn't show ECW for me. Glad to hear it can be done though - this is a regular request from users (Kakadu being the other one).
For some reason running
cmake .. -L | grep -e "_ENABLE.*PLUGIN"
on GDAL master didn't show ECW for me
Probably that the variable is set only if you have the ECW SDK detected
If anyone is here looking for a GDAL installation with ECW support, there is a Docker recipe here: https://github.com/DHI-GRAS/ecw2tiff/blob/main/Dockerfile
Comment:
Is it possible to make QGIS able to read ECW files (despite being under commercial license) after installation from conda-forge in a dedicated environment? The GDAL libraries have been installed correctly. Thank you.