On Thu, 25 Jul 2019 at 01:19, Ivan Lucena <[email protected]> wrote: > mem_ds.SetGeoTransform((xmin, xResolut, 0, ymax, 0, yResolut,))
Check your value for yResolut, as it should be negative. In my experience, a raster full of zeros is when the geometry is outside the raster window, so be sure to manually check the raster and vector geometries in (e.g.) QGIS. Lastly, to properly close the file, you only need to dereference the object: mem_ds = None _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
