[postgis-tickets] r16636 - MVT combine: Fix bug with invalid property values

Raul raul at rmr.ninja
Fri Jul 6 04:21:59 PDT 2018


Author: algunenano
Date: 2018-07-06 04:21:59 -0700 (Fri, 06 Jul 2018)
New Revision: 16636

Modified:
   trunk/NEWS
   trunk/postgis/mvt.c
Log:
MVT combine: Fix bug with invalid property values

Closes #4115
Closes https://github.com/postgis/postgis/pull/263



Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2018-07-04 21:20:52 UTC (rev 16635)
+++ trunk/NEWS	2018-07-06 11:21:59 UTC (rev 16636)
@@ -1,3 +1,12 @@
+PostGIS 2.5.0beta2
+2018/XX/XX
+New since PostGIS 2.5.0beta1
+  - #4115, Fix a bug that created MVTs with incorrect property values under
+    parallel plans (Raúl Marín).
+
+  See PostGIS 2.5.0 section for full details
+
+
 PostGIS 2.5.0beta1
 2018/07/03
 New since PostGIS 2.5.0alpha

Modified: trunk/postgis/mvt.c
===================================================================
--- trunk/postgis/mvt.c	2018-07-04 21:20:52 UTC (rev 16635)
+++ trunk/postgis/mvt.c	2018-07-06 11:21:59 UTC (rev 16636)
@@ -1054,7 +1054,6 @@
 	j = 0;
 	for (i = 0; i < layer1->n_features; i++)
 		layer->features[j++] = tile_feature_copy(layer1->features[i], 0, 0);
-	value2_offset = j;
 	for (i = 0; i < layer2->n_features; i++)
 		layer->features[j++] = tile_feature_copy(layer2->features[i], key2_offset, value2_offset);
 



More information about the postgis-tickets mailing list