[postgis-tickets] r15596 - ST_GeneratePoints check to use ST_Intersects instead of ST_Contains

Regina Obe lr at pcorp.us
Sat Aug 26 23:51:30 PDT 2017


Author: robe
Date: 2017-08-26 23:51:30 -0700 (Sat, 26 Aug 2017)
New Revision: 15596

Modified:
   trunk/regress/tickets.sql
Log:
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

Modified: trunk/regress/tickets.sql
===================================================================
--- trunk/regress/tickets.sql	2017-08-27 06:32:16 UTC (rev 15595)
+++ trunk/regress/tickets.sql	2017-08-27 06:51:30 UTC (rev 15596)
@@ -940,7 +940,7 @@
 )
 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;
 



More information about the postgis-tickets mailing list