Gdal_rasterize nodata_value does not work
Gdal_rasterize nodata_value does not work Question: I want to rasterize a source layer made of polygons. No matter what value I assign to “NoData_value”, the outcome in my array is always = 0. I am using python 3.4. Can anyone help me understand please ? source_srs = source_layer.GetSpatialRef() x_min, x_max, y_min, y_max = source_layer.GetExtent() # …