[MDAL-Developer] MDAL, Python and QGIS

Paul Harwood runette at gmail.com
Thu Dec 1 09:52:42 PST 2022


To slightly answer my own question - there is nothing wrong  with the code
- if I manual add the right mdal.dll for the gdal version and the right
build of the python package it does work.

I guess the question is all going to be about packaging.




> On Thu, 1 Dec 2022 at 13:04, Paul Harwood <runette at gmail.com> wrote:
>
>> You will remember that there are Python bindings for MDAL
>> <https://github.com/ViRGIS-Team/mdal-python>
>>
>> These were upgraded to both Read and Write earlier in the year, although
>> the documentation is running way behind :(
>>
>> In response to a request, these are now available from PyPI as `pip
>> install mdal-python`. In a similar way to GDAL and PDAL, these pip based
>> bindings will only work if MDAL is already installed on the machine.
>>
>> The request also asked if mdal could then be used in the QGIS Python
>> Console.
>>
>> The current state is that `pip install mdal-python` can be used in the
>> OSGEO shell and works correctly and the Python bindings package is then
>> accessible in the Python Console but it does not work because MDAL (in the
>> form of mdal.dll / libmdal.so / libmdal.dylib) is not installed in QGIS.
>>
>> I thought that QGIS was using MDAL but I guess it is installed in a
>> different way.
>>
>> Does anyone know how this can be addressed?
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mdal-developer/attachments/20221201/54f1776b/attachment.htm>


More information about the MDAL-Developer mailing list