]> granicus.if.org Git - postgis/commitdiff
ST_GeneratePoints check to use ST_Intersects instead of ST_Contains
authorRegina Obe <lr@pcorp.us>
Sun, 27 Aug 2017 06:51:30 +0000 (06:51 +0000)
committerRegina Obe <lr@pcorp.us>
Sun, 27 Aug 2017 06:51:30 +0000 (06:51 +0000)
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

index 13ce855435aa2e101c6fac95d475d240822f8d73..61582dcfd748d764ee1e5453b1860f7efad41c76 100644 (file)
@@ -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;