v.to.rast
How GRASS runs Rasterize: v.to.rast.
| Engine | GRASS |
|---|---|
| Tool name | v.to.rast |
| Interface | cli |
| Implements | Rasterize |
| Preset | {"use":"val"} |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
input | string | yes | Not stated | Not stated | vector name |
layer | string | no | 1 | Not stated | layer name |
type | string | no | point,line,area | point, line, boundary, centroid, area | multiple values |
cats | string | no | Not stated | Not stated | cats name |
where | string | no | Not stated | Not stated | sql_query name |
output | string | yes | Not stated | Not stated | output cell |
use | string | yes | Not stated | attr, cat, value, z, dir | Not stated |
attribute_column | string | no | Not stated | Not stated | dbcolumn name |
rgb_column | string | no | Not stated | Not stated | dbcolumn name |
label_column | string | no | Not stated | Not stated | dbcolumn name |
value | float | no | 1 | Not stated | Not stated |
memory | integer | no | 300 | Not stated | Not stated |
flag_d | boolean | no | Not stated | Not stated | flag -d |
flag_overwrite | boolean | no | Not stated | Not stated | flag --overwrite |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | input | Not stated |
output | output | Not stated |
resolution | Not stated | Set by the computational region (g.region res=...). |
value | value | Not stated |
field | Not stated | Set use = attr and attribute_column; this mapping burns a fixed value (use = val). |
all_touched | Not stated | Use the d flag for dense lines; areas burn cell centres. |
Differences from the operation
None noted
Harvested by the grass harvester from engine version
8.5.0. Names can change when an engine is harvested again.