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 but it doesn't work, should I test if the result of CreateCopy is not None? Is there any other better way to catch this error? thanks -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev