Feature request #6436
gdal_rasterize GUI does not include the "-burn" option
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Easy fix?:||No||Copied to github as #:||15677|
The gdal_rasterize command line utility allows for an option "-burn <value>" which sets all raster pixel values to a static value. This option does not exist in the GDALTools GUI for gdal_rasterize. In the GUI you can only choose an attrib column from the vector to obtain raster values.
#2 Updated by Lorenzo Masini about 7 years ago
The manpage of gdal_rasterize says about the -burn option:
-burn value: A fixed value to burn into a band for all objects. A list of -burn options can be supplied, one per band being written to.
The gui doesn't permit to set the band, so gdal_rasterize assume band 1.
Is it correct to permit only one value for burn (the burn value for band 1)?
#9 Updated by Médéric RIBREUX over 3 years ago
- Category changed from GDAL Tools to Processing/GDAL
- Tag set to easy
Hello, bug triage...
still true for QGIS 2.13 master on both fTools and Processing GDAL.
Like suggested, we only need to add an option for band 1 only in python/plugins/processing/algs/gdal/rasterize.py
I think this is easy to fix and this feature request merits the 'easy' tag...