Feature request #6436
gdal_rasterize GUI does not include the "-burn" option
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Processing/GDAL | ||
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Easy fix?: | No | Copied to github as #: | 15677 |
Description
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.
History
#1 Updated by Giovanni Manghi about 12 years ago
- Assignee set to Giuseppe Sucameli
- Target version changed from Version 1.8.0 to Version 2.0.0
#2 Updated by Lorenzo Masini about 12 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)?
#3 Updated by Lorenzo Masini about 12 years ago
- Assignee changed from Giuseppe Sucameli to Lorenzo Masini
#4 Updated by Paolo Cavallini about 12 years ago
IMHO yes
#5 Updated by Giovanni Manghi almost 12 years ago
- Assignee changed from Lorenzo Masini to Giuseppe Sucameli
#6 Updated by Paolo Cavallini almost 12 years ago
- Assignee changed from Giuseppe Sucameli to anonymous -
#7 Updated by Jürgen Fischer over 10 years ago
- Target version changed from Version 2.0.0 to Future Release - Lower Priority
#8 Updated by Jürgen Fischer over 10 years ago
- Assignee deleted (
anonymous -)
#9 Updated by Médéric RIBREUX almost 9 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...
#10 Updated by Giovanni Manghi over 7 years ago
- Easy fix? set to No
#11 Updated by Alexander Bruy almost 7 years ago
- Status changed from Open to Closed
- Resolution set to fixed/implemented
Fixed in master. Please reopen if necessary.