Re: [gdal-dev] Python gdal catch ERROR 6

2015-10-07 Thread Even Rouault
Le mercredi 07 octobre 2015 15:15:20, Luca Delucchi a écrit : > Hi devs, > > PDF driver is actually supporting only 8 bit band, and if I try to > create a layer using CreateCopy function with a dataset different from > 8 bit I get "ERROR 6: PDF driver doesn't support data type UInt16. > Only eight

[gdal-dev] Python gdal catch ERROR 6

2015-10-07 Thread Luca Delucchi
Hi devs, PDF driver is actually supporting only 8 bit band, and if I try to create a layer using CreateCopy function with a dataset different from 8 bit I get "ERROR 6: PDF driver doesn't support data type UInt16. Only eight bit byte bands supported." I try to catch this error using try/except bu