[MDAL-Developer] MDAL, Python and QGIS

Peter Petrik peter.petrik at lutraconsulting.co.uk
Thu Dec 1 22:58:31 PST 2022


Hi,

I am wondering if mdal provider does not expose the symbols too, so you can
use it instead of mdal.dll?

Kind Regards,
Peter Petrík
CPO of Mergin Maps
LI <https://www.linkedin.com/in/peter-petrik/>, Mergin Maps
<https://www.merginmaps.com>





On Thu, Dec 1, 2022 at 11:13 PM Martin Dobias <wonder.sk at gmail.com> wrote:

> Hi Paul
>
> On Thu, Dec 1, 2022 at 2:05 PM Paul Harwood <runette at gmail.com> wrote:
>
>> 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?
>>
>
> QGIS uses its own copy of MDAL and by default the library is built into
> the mdal provider module, that's why there's no mdal.dll or equivalent. It
> is also possible to compile QGIS with a custom MDAL library, but because
> has not been spread much outside of QGIS, using the internal copy makes
> things simpler.
>
> I can imagine that if there would be demand for it, the OSGeo4W packaging
> could be updated so that MDAL would be compiled and shipped as a separate
> package with a dedicated mdal.dll - that's something to raise with the
> OSGeo4W maintainers I guess...
>
> Regards
> Martin
>
> _______________________________________________
> MDAL-Developer mailing list
> MDAL-Developer at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mdal-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mdal-developer/attachments/20221202/b531e3d1/attachment.htm>


More information about the MDAL-Developer mailing list