[postgis-devel] ST_GeneratePoints randomness

Mike Taves mwtoews at gmail.com
Fri Jan 18 17:37:14 PST 2019


On Sat, 19 Jan 2019 at 09:56, Raúl Marín Rodríguez
<rmrodriguez at carto.com> wrote:
> > Have one function with a seed...
>
> I guess there could be ST_GeneratePoints and
> ST_GenerateRandomPoints([optional] seed)

We discussed this idea in a Trac ticket:
https://trac.osgeo.org/postgis/ticket/2131#comment:6

I got part way into writing the C code, then put it on pause while I
learned about various pseudorandom number generators like MT19937. The
difficulty is to make it portable.


More information about the postgis-devel mailing list