Random Points from MaskΒΆ

Randomly draws defined number of points from Mask and returns them as vector dataset.

Parameters

Mask [raster]

Specified vector or raster is interpreted as a boolean mask.

In case of a vector, all pixels covered by features are interpreted as True, all other pixels as False.

In case of a raster, all pixels that are equal to the no data value (default is 0) are interpreted as False, all other pixels as True.Multiband rasters are first evaluated band wise. The final mask for a given pixel is True, if all band wise masks for that pixel are True.

Invert Mask [boolean]

Whether or not to invert the selected mask.

Default: 0

Number of Points [string]

Number of points, given as integer or fraction between 0 and 1, to sample from the mask.

Default: 100

Outputs

Output Vector [vectorDestination]
Specify output path for the vector.