PostGIS
Synopsis
geometry +`*`+ST_GeneratePoints
*(
g
geometry , npoints
integer )
;
geometry +`*`+ST_GeneratePoints
*(
geometry g
, integer
npoints
, integer seed = 0
)
;
Description
ST_GeneratePoints generates a given number of pseudo-random points which
lie within the input area. The optional seed
is used to regenerate a
deterministic sequence of points, and must be greater than zero.
Availability: 2.3.0
Enhanced: 3.0.0, added seed parameter