[postgis-devel] ST_GeneratePoints randomness

Raúl Marín Rodríguez rmrodriguez at carto.com
Fri Jan 18 12:55:58 PST 2019


> Have one function with a seed...

That would make the function VOLATILE (and cacheable) which is
something that Komzpa wanted to avoid.

> Perhaps there is a use case for both functions?  One that generates a reproducible set of pseudo-random points, and one that generates a different set each time called.

I guess there could be ST_GeneratePoints and
ST_GenerateRandomPoints([optional] seed)

-- 
Raúl Marín Rodríguez
carto.com


More information about the postgis-devel mailing list