[postgis-tickets] r14839 - #3529, move test to subdivide.sql

Paul Ramsey pramsey at cleverelephant.ca
Wed Apr 13 09:53:02 PDT 2016


Author: pramsey
Date: 2016-04-13 09:53:02 -0700 (Wed, 13 Apr 2016)
New Revision: 14839

Modified:
   trunk/regress/subdivide.sql
   trunk/regress/subdivide_expected
   trunk/regress/tickets.sql
Log:
#3529, move test to subdivide.sql


Modified: trunk/regress/subdivide.sql
===================================================================
--- trunk/regress/subdivide.sql	2016-04-13 15:57:26 UTC (rev 14838)
+++ trunk/regress/subdivide.sql	2016-04-13 16:53:02 UTC (rev 14839)
@@ -22,3 +22,5 @@
 SELECT '3' As rn, full_area::numeric(10,3) = SUM(ST_Area(gs.geom))::numeric(10,3), COUNT(gs.geom) As num_pieces, MAX(ST_NPoints(gs.geom)) As max_vert
 FROM gs
 GROUP BY gs.full_area;
+
+SELECT '#3522', ST_AsText(ST_Subdivide(ST_GeomFromText('POINT(1 1)',4326),10));

Modified: trunk/regress/subdivide_expected
===================================================================
--- trunk/regress/subdivide_expected	2016-04-13 15:57:26 UTC (rev 14838)
+++ trunk/regress/subdivide_expected	2016-04-13 16:53:02 UTC (rev 14839)
@@ -1,3 +1,4 @@
 1|t|9|9
 2|t|6|7
 3|t|15|9
+#3522|POINT(1 1)

Modified: trunk/regress/tickets.sql
===================================================================
--- trunk/regress/tickets.sql	2016-04-13 15:57:26 UTC (rev 14838)
+++ trunk/regress/tickets.sql	2016-04-13 16:53:02 UTC (rev 14839)
@@ -952,8 +952,5 @@
 UNION ALL
 SELECT '#3437e' AS t, count(*) FROM mp INNER JOIN p ON ST_Within(p.geom, mp.geom);
 
--- GEOS 3.5+ only
--- SELECT '#3522', ST_AsText(ST_Subdivide(ST_GeomFromText('POINT(1 1)',4326),10));
-
 -- Clean up
 DELETE FROM spatial_ref_sys;



More information about the postgis-tickets mailing list