[gdal-dev] Binary fields in Python

Christian Urich christian.urich at gmail.com
Thu Jan 28 00:07:20 PST 2016


Hi,

I’m still running an older version of GDAL/OGR (1.11.3) and would like to access a binary field in python. 

It seems that GetFieldAsBinary is only available in version > 2.0 so I tried to access the data using GetFieldAsString. However the returned hex is cut off after 75 characters. Is there another why to access binary fields in python?

Christian




More information about the gdal-dev mailing list