[gdal-dev] problem with datatype in python

Luca Delucchi lucadeluge at gmail.com
Thu Sep 3 09:46:54 PDT 2015


On 3 September 2015 at 17:42, Even Rouault <even.rouault at spatialys.com> wrote:
> Le jeudi 03 septembre 2015 17:34:27, Luca Delucchi a écrit :

>> target_ds = gdal.GetDriverByName('MEM').Create('', xcount, ycount,
>> gdal.GDT_UInt32)
>
> You should add ,1, between ycount and gdal.GDT_UInt32. This is the band count.
>

Thanks a lot, it solved my problem

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the gdal-dev mailing list