From edd47b6dbe35ed06b5a9c24d702ab8906aebdd43 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Sun, 27 Aug 2017 06:51:30 +0000 Subject: [PATCH] ST_GeneratePoints check to use ST_Intersects instead of ST_Contains Minimize failures when point falls on the boundary. Closes #3765 for PostGIS 2.4.0 git-svn-id: http://svn.osgeo.org/postgis/trunk@15596 b70326c6-7e19-0410-871a-916f4a2858ee --- regress/tickets.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regress/tickets.sql b/regress/tickets.sql index 13ce85543..61582dcfd 100644 --- a/regress/tickets.sql +++ b/regress/tickets.sql @@ -940,7 +940,7 @@ pts as ( ) select '#3399' as t, n, count(*) from g, pts -where st_contains(g.geom, pts.geom) +where st_intersects(g.geom, pts.geom) group by n ORDER BY n; -- 2.50.1