geo-registry

native:randompointsinpolygons

How QGIS runs Random Points in Polygons: native:randompointsinpolygons.

About this implementation
Engine QGIS
Tool name native:randompointsinpolygons
Interface qgis-process
Implements Random Points in Polygons
Documentation Not stated
Effects modifies input: no, network: no
Notes Not stated
Status active

Parameters

Name Type Required Default Choices Note
INCLUDE_POLYGON_ATTRIBUTES boolean yes yes Not stated Not stated
INPUT source yes Not stated Not stated Not stated
MAX_TRIES_PER_POINT number no 10 Not stated Not stated
MIN_DISTANCE distance no 0 Not stated Not stated
MIN_DISTANCE_GLOBAL distance no 0 Not stated Not stated
OUTPUT sink yes Not stated Not stated output
POINTS_NUMBER number yes 1 Not stated Not stated
SEED number no Not stated Not stated Not stated

How it maps to the operation

Operation parameter Parameter here Note
layer INPUT Not stated
output OUTPUT Not stated
count POINTS_NUMBER Not stated
seed SEED Not stated

Differences from the operation

  • INCLUDE_POLYGON_ATTRIBUTES (on by default) copies the polygon's attributes, including a GeoPackage's fid, so writing the points to a GeoPackage fails on duplicate fids; turn it off or write another format.
  • MIN_DISTANCE keeps points apart; it may place fewer points when they do not fit.

Harvested by the qgis harvester from engine version 4.2.3. Names can change when an engine is harvested again.