[postgis-tickets] r17682 - Move protobuf specific ticket lines to mvt test

Regina Obe lr at pcorp.us
Fri Aug 9 03:50:19 PDT 2019


Author: robe
Date: 2019-08-09 15:50:19 -0700 (Fri, 09 Aug 2019)
New Revision: 17682

Modified:
   trunk/NEWS
   trunk/regress/core/mvt.sql
   trunk/regress/core/mvt_expected
   trunk/regress/core/tickets.sql
   trunk/regress/core/tickets_expected
Log:
Move protobuf specific ticket lines to mvt test
Closes #4472

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2019-08-09 22:44:58 UTC (rev 17681)
+++ trunk/NEWS	2019-08-09 22:50:19 UTC (rev 17682)
@@ -1,5 +1,5 @@
 PostGIS 3.0.0alpha4
-2019/xx/xx
+2019/08/xx
 For full changes and enhancements, refer to PostGIS 3.0.0.
 This version requires PostgreSQL 9.5+-12 and GEOS >= 3.6+
 Additional features enabled if you are running Proj6+ and PostgreSQL 12

Modified: trunk/regress/core/mvt.sql
===================================================================
--- trunk/regress/core/mvt.sql	2019-08-09 22:44:58 UTC (rev 17681)
+++ trunk/regress/core/mvt.sql	2019-08-09 22:50:19 UTC (rev 17682)
@@ -725,3 +725,14 @@
     16,
     true
 )), 0) BETWEEN 0 AND 100;
+
+WITH geom AS (
+	SELECT 'TRIANGLE((0 0, 1 1, 0 1, 0 0))'::geometry geom
+	union all
+	SELECT 'TIN(((0 0, 1 1, 0 1, 0 0)))'::geometry geom
+	union all
+	SELECT 'TRIANGLE EMPTY'::geometry geom
+)
+select '#4399', 'ST_AsGeobuf', ST_AsGeobuf(geom.*)::text from geom
+union all
+select '#4399', 'ST_AsMVTGeom', ST_AsMVTGeom(geom, ST_MakeBox2D(ST_Point(0, 0), ST_Point(32, 32)))::text from geom;

Modified: trunk/regress/core/mvt_expected
===================================================================
--- trunk/regress/core/mvt_expected	2019-08-09 22:44:58 UTC (rev 17681)
+++ trunk/regress/core/mvt_expected	2019-08-09 22:50:19 UTC (rev 17682)
@@ -142,3 +142,7 @@
 #4348Reversed2|t
 #4348Point|t
 #4348Crash|t
+#4399|ST_AsGeobuf|\x180022260a0c0a0a08041a060000020201000a100a0e0806220a08041a060000020201000a040a020804
+#4399|ST_AsMVTGeom|011100000001000000040000000000000000000000000000000000B0400000000000000000000000000000AF400000000000006040000000000000AF400000000000000000000000000000B040
+#4399|ST_AsMVTGeom|011100000001000000040000000000000000000000000000000000B0400000000000000000000000000000AF400000000000006040000000000000AF400000000000000000000000000000B040
+#4399|ST_AsMVTGeom|

Modified: trunk/regress/core/tickets.sql
===================================================================
--- trunk/regress/core/tickets.sql	2019-08-09 22:44:58 UTC (rev 17681)
+++ trunk/regress/core/tickets.sql	2019-08-09 22:50:19 UTC (rev 17682)
@@ -1283,9 +1283,4 @@
 union all
 select '#4399', 'ST_GeoHash', ST_GeoHash(geom)::text from geom
 union all
-select '#4399', 'ST_AsGeobuf', ST_AsGeobuf(geom.*)::text from geom
-union all
-select '#4399', 'ST_AsMVTGeom', ST_AsMVTGeom(geom, ST_MakeBox2D(ST_Point(0, 0), ST_Point(32, 32)))::text from geom
-union all
 select '#4399', 'ST_AsGeoJSON', ST_AsGeoJSON(geom)::text from geom;
-

Modified: trunk/regress/core/tickets_expected
===================================================================
--- trunk/regress/core/tickets_expected	2019-08-09 22:44:58 UTC (rev 17681)
+++ trunk/regress/core/tickets_expected	2019-08-09 22:50:19 UTC (rev 17682)
@@ -421,10 +421,6 @@
 #4399|ST_GeoHash|
 #4399|ST_GeoHash|
 #4399|ST_GeoHash|
-#4399|ST_AsGeobuf|\x180022260a0c0a0a08041a060000020201000a100a0e0806220a08041a060000020201000a040a020804
-#4399|ST_AsMVTGeom|011100000001000000040000000000000000000000000000000000B0400000000000000000000000000000AF400000000000006040000000000000AF400000000000000000000000000000B040
-#4399|ST_AsMVTGeom|011100000001000000040000000000000000000000000000000000B0400000000000000000000000000000AF400000000000006040000000000000AF400000000000000000000000000000B040
-#4399|ST_AsMVTGeom|
 #4399|ST_AsGeoJSON|{"type":"Polygon","coordinates":[[[0,0],[1,1],[0,1],[0,0]]]}
 #4399|ST_AsGeoJSON|{"type":"GeometryCollection","geometries":[{"type":"Polygon","coordinates":[[[0,0],[1,1],[0,1],[0,0]]]}]}
 #4399|ST_AsGeoJSON|{"type":"Polygon","coordinates":[[]]}



More information about the postgis-tickets mailing list