random
ST_GENERATEPOINTS
ST_GENERATEPOINTS(geog, npoints)SELECT carto.ST_GENERATEPOINTS(ST_GEOMFROMTEXT('POLYGON((0 0, 10 0, 10 10, 0 0))'), 100);
-- {"type": "MultiPoint", "coordinates": [[8.383157939015296, 1.062699131285872], ...Last updated
Was this helpful?
