[gdal-dev] Binary fields in Python

Even Rouault even.rouault at spatialys.com
Thu Jan 28 00:55:23 PST 2016


Le jeudi 28 janvier 2016 09:07:20, Christian Urich a écrit :
> 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?

None I can think of, apart backporting GetFieldAsBinary() to 1.11 if you can 
recompile (the Python bindings) from sources.

> 
> Christian
> 
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list