[Qgis-user] How to automatically rasterize all attribute table columns

Christine geo.guide at web.de
Wed Dec 16 23:40:43 PST 2020


dear Alejandro,
have done that recently with the Rasterize Tool (Vector to Raster) in the
batch modus without the graphical modeller. You find the button to switch to
the batch modus in the left down corner of the tool's dialog box.  
You just have to add a number of lines according the fields to rasterize and
set the parameters. The batch dialog helps you to select the fields and
parameters. 

The field name may be added automatically to the name of the output raster
with an expression according the pattern:  
substr(@INPUT, 1, 35)  || '_'  ||  @FIELD 
with a substring of the layer name (e.g. character 1 - 35) followed by the
field name. 

You may also save the settings to a file and reuse the settings again. 

regards, Christine


alechamizo wrote
> I have a vector layer with several fields from the attribute table and I
> would like to rasterize all of them automatically and have the output
> raster have the column name.
> Is it possible to do this in QGIS graphical modeler?





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html


More information about the Qgis-user mailing list