]> granicus.if.org Git - postgis/commitdiff
Regression test changes and NEWS item (References #3925)
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 9 Nov 2017 16:27:26 +0000 (16:27 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 9 Nov 2017 16:27:26 +0000 (16:27 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16104 b70326c6-7e19-0410-871a-916f4a2858ee

NEWS
regress/mvt.sql
regress/mvt_expected

diff --git a/NEWS b/NEWS
index 93da6737378f67c20cf9a387d3fd4c21685ae2a1..4d7e68b173007a9eac768badd6f0167024aa0ec8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ PostGIS 2.5.0
            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
index fbd13a175a41ce37bb5c67ef868e216e82435bf1..12aa2adf37af9f10ade69a1b60a38b2c7b6631ea 100644 (file)
@@ -29,7 +29,7 @@ select 'PG7', ST_AsText(ST_Normalize(ST_AsMVTGeom(
         -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))))'),
index 52ddadcb7ba5f6f2d800439fd7bf2f7677e40770..8dd9652ada020809c51f4a893c9e7e4a89ff04fa 100644 (file)
@@ -4,16 +4,15 @@ PG3|POINT(2 4092)
 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 @@ D7|POINT(1 4094)
 TU2
 ERROR:  pgis_asmvt_transfn: parameter row cannot be other than a rowtype
 TU3|
-#3922|323
+#3922|91