[postgis-tickets] r16104 - Regression test changes and NEWS item (References #3925)

Paul Ramsey pramsey at cleverelephant.ca
Thu Nov 9 08:27:26 PST 2017


Author: pramsey
Date: 2017-11-09 08:27:26 -0800 (Thu, 09 Nov 2017)
New Revision: 16104

Modified:
   trunk/NEWS
   trunk/regress/mvt.sql
   trunk/regress/mvt_expected
Log:
Regression test changes and NEWS item (References #3925)


Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2017-11-09 16:25:22 UTC (rev 16103)
+++ trunk/NEWS	2017-11-09 16:27:26 UTC (rev 16104)
@@ -13,6 +13,7 @@
            with core PostGIS functions.
 
 * Enhancements and Fixes*
+  - #3925, Simplify geometry using map grid cell size before generating MVT
   - #3899, BTree sort order is now defined on collections of EMPTY and
            same-prefix geometries (Darafei Praliaskouski)
   - #3864, Performance improvement for sorting POINT geometries

Modified: trunk/regress/mvt.sql
===================================================================
--- trunk/regress/mvt.sql	2017-11-09 16:25:22 UTC (rev 16103)
+++ trunk/regress/mvt.sql	2017-11-09 16:27:26 UTC (rev 16104)
@@ -29,7 +29,7 @@
         -7783978.88137195 1396646.68250521,-7787752.03959369 1398469.72134299,-7795443.30325373 1405280.43988858,-7797717.16326269 1406217.73286975,-7798831.44531677 1406904.48130551,-7799311.5830898 1408004.24038921,
         -7799085.10302919 1409159.72782477,-7798052.35381919 1411108.84582812,-7797789.63692662 1412213.40365339,-7798224.47868753 1414069.89725829,-7799003.5701851 1415694.42577482,-7799166.63587328 1416966.26267896,
         -7797789.63692662 1417736.81850415,-7793160.38395328 1412417.61222784,-7792023.4539488 1411512.60791779))'),
-        ST_MakeBox2D(ST_Point(-20037508.34, 20037508.34), ST_Point(20037508.34, -20037508.34)),
+        ST_MakeBox2D(ST_Point(-20037508.34, -20037508.34), ST_Point(20037508.34, 20037508.34)),
         4096, 10, true)));
 select 'PG8', ST_AsText(ST_Normalize(ST_AsMVTGeom(
     ST_GeomFromText('GEOMETRYCOLLECTION(MULTIPOLYGON (((0 0, 10 0, 10 5, 0 -5, 0 0))))'),

Modified: trunk/regress/mvt_expected
===================================================================
--- trunk/regress/mvt_expected	2017-11-09 16:25:22 UTC (rev 16103)
+++ trunk/regress/mvt_expected	2017-11-09 16:27:26 UTC (rev 16104)
@@ -4,16 +4,15 @@
 PG4|MULTIPOLYGON(((5 4096,10 4096,10 4091,5 4096)),((0 4096,0 4101,5 4096,0 4096)))
 PG5|
 PG6|POLYGON((600 594,894 2704,2791 594,600 594))
-PG7|POLYGON((1251 1904,1252 1905,1253 1906,1253 1905,1252 1904,1251 1904))
+PG7|POLYGON((1251 1904,1253 1906,1253 1905,1252 1904,1251 1904))
 PG8|MULTIPOLYGON(((5 4096,10 4096,10 4091,5 4096)),((0 4096,0 4101,5 4096,0 4096)))
 PG9|POLYGON((0 0,0 4096,4096 4096,4096 0,0 0))
 PG10|
 TG1|GiEKBHRlc3QSDBICAAAYASIECTLePxoCYzEiAigBKIAgeAI=
 TG2|GiMKBHRlc3QSDhICAAAYASIGETTcPwECGgJjMSICKAEogCB4Ag==
 TG3|GiYKBHRlc3QSERICAAAYAiIJCQCAQArQD88PGgJjMSICKAEogCB4Ag==
-TG4|GioKBHRlc3QSFRICAAAYAiINCQCAQBLoB+cH6AfnBxoCYzEiAigBKIAgeAI=
-TG5|GjgKBHRlc3QSIxICAAAYAiIbCQT8PxLoB+cH6AfnBwnRD9IPEugH5wfoB+cHGgJjMSICKAEogCB4
-Ag==
+TG4|GiYKBHRlc3QSERICAAAYAiIJCQCAQArQD88PGgJjMSICKAEogCB4Ag==
+TG5|GjAKBHRlc3QSGxICAAAYAiITCQT8PwrQD88PCdEP0g8K0A/PDxoCYzEiAigBKIAgeAI=
 TG6|GjIKBHRlc3QSHRICAAAYAyIVCRTYPxoyFBRFOwoPCQoUEh4JCR4PGgJjMSICKAEogCB4Ag==
 TG7|Gj0KBHRlc3QSKBICAAAYAyIgCRTEPyIAKCgKHh0xHQ8JABQSFAoTCg8JADsSMh4JEw8aAmMxIgIo
 ASiAIHgC
@@ -41,4 +40,4 @@
 TU2
 ERROR:  pgis_asmvt_transfn: parameter row cannot be other than a rowtype
 TU3|
-#3922|323
+#3922|91



More information about the postgis-tickets mailing list