ST_GeneratePoints — Converts a polygon or multi-polygon into a multi-point composed of randomly location points within the original areas.
geometry ST_GeneratePoints(
g
geometry
,
npoints
integer
)
;
geometry ST_GeneratePoints(
g
geometry
,
npoints
integer
,
seed
integer
)
;