Re: [gdal-dev] Rasterize command works from utility but not Python binding

2018-06-27 Thread Even Rouault
On mercredi 27 juin 2018 14:51:23 CEST Deschamps, Benjamin (EC) wrote: > Hi everyone, > > I am burning values from a KMZ into an existing GeoTiff. When I do it on the > command line using gdal_rasterize (2.1.3), it works correctly: > > gdal_rasterize -burn 0 -dialect SQLITE -sql "SELECT * FROM My

[gdal-dev] Rasterize command works from utility but not Python binding

2018-06-27 Thread Deschamps, Benjamin (EC)
Hi everyone, I am burning values from a KMZ into an existing GeoTiff. When I do it on the command line using gdal_rasterize (2.1.3), it works correctly: gdal_rasterize -burn 0 -dialect SQLITE -sql "SELECT * FROM MyLayer WHERE (Name IS NOT '01') AND (Name IS NOT '02')" myfile.kmz existingfile.ti