Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3399 closed enhancement (fixed)

ST_GeneratePoints

Reported by: pramsey Owned by: prams
Priority: medium Milestone: PostGIS 2.3.0
Component: postgis Version: master
Keywords: Cc:

Description

Given an input area, output a multipoint composed of random points that fall within the input area. Useful for point density mapping, mostly.

Change History (8)

comment:1 by pramsey, 8 years ago

Resolution: fixed
Status: newclosed

Committed at r14492

comment:2 by robe, 8 years ago

I feel we should have a postgresql test for this function. pramsey I know you feel it's probably redundant, but it does catch issues running within postgresql that are missed with cunit.

comment:3 by robe, 8 years ago

(In [14495]) Example for ST_GeneratePoints references #3399

comment:4 by robe, 8 years ago

(In [14499]) Fix images for ST_GeneratePoints example references #3399

comment:5 by strk, 8 years ago

Any way to have a test for this ? Maybe just a count of points in output, and some corner case calls ?

comment:6 by strk, 8 years ago

( I mean at SQL level )

comment:7 by robe, 8 years ago

(In [14501]) swap the images — wrong order for ST_GeneratePoints references #3399

comment:8 by pramsey, 8 years ago

ok, some corner cases and basic correctness at r14502

Note: See TracTickets for help on using tickets.