How can I read MrSID files in Python (using gdal)?

المشرف العام

Administrator
طاقم الإدارة
I have to read a large number of MrSID images and process them in Python. I usually access GIS file formats using the gdal application and the gdal Python library. However, the gdal package for Python does not come with MrSID support (I use the portable WinPython and the precompiled gdal package from here). Then I also use QGIS that comes with gdal support: here, gdal does support MrSID out of the box (command: gdalinfo.exe --formats).

I was wondering if there is a gdal package for Python that does support MrSID out of the box, or do I have to compile it from the source (using Windows 8.1 64-bit).

I tried to just copy the QGIS dll "...\gdalplugins\gdal_MrSID.dll" to the same folder in my Python gdal library, but this makes the command "gdalinfo.exe --formats" to stop with an error.

Thank you in advance.

Joeri



أكثر...
 
أعلى