Fraction from Vector

Derives class fraction raster from a vector file with sufficient class information. Note: rasterization of complex multipart vector geometries can be very slow, use “QGIS > Vector > Geometry Tools > Multiparts to Singleparts…” in this case beforehand.

Parameters

Pixel Grid [raster]
Specify input raster.
Vector [vector]
Specify input vector.
Class id attribute [field]
Vector field specifying the class ids.
Minimal overall coverage [number]

Mask out all pixels that have an overall coverage less than the specified value. This controls how edges between labeled and no data regions are treated.

Default: 0.5

Oversampling factor [number]

Defines the degree of detail by which the class information given by the vector is rasterized. An oversampling factor of 1 (default) simply rasterizes the vector on the target pixel grid.An oversampling factor of 2 will rasterize the vector on a target pixel grid with resolution twice as fine.An oversampling factor of 3 will rasterize the vector on a target pixel grid with resolution three times as fine, … and so on.

Mind that larger values are always better (more accurate), but depending on the inputs, this process can be quite computationally intensive, when a higher factor than 1 is used.

Default: 5

Outputs

Output Fraction [rasterDestination]
Specify output path for fraction raster.