Mystery "solved".
When running 'python', the python ogr libraries were being
preferentially loaded from /Library/Frameworks/GDAL, the package
installed with the OSX QGIS build from KyngChaos, regardless of the
value of the PYTHONPATH variable. That framework in turn seems to have
preferentially lo
It does, though 'otool -L' indicates it's reading libgdal from /usr/local/lib,
in defiance of DYLD_LIBRARY_PATH. Fortunately I installed there previously so I
guess that's why it's finding the driver. Installing hasn't changed the
behaviour of the python test though.
-> "GPKG" (read/write)
P
Le mercredi 06 novembre 2013 20:35:46, Paul Ramsey a écrit :
> Completely getting nothing... even when I install gdal into /usr/local/lib
> over top of my standard gdal, the basic driver registration stubbornly
> returns 'None'
>
> gpkg_dr = ogr.GetDriverByName( 'GPKG' )
>
> It makes me t
Completely getting nothing... even when I install gdal into /usr/local/lib over
top of my standard gdal, the basic driver registration stubbornly returns
'None'
gpkg_dr = ogr.GetDriverByName( 'GPKG' )
It makes me think I'm doing something wrong in adding the driver to OGR, but
I've go