]> granicus.if.org Git - postgis/commitdiff
MVT combine: Fix bug with invalid property values
authorRaúl Marín Rodríguez <rmrodriguez@carto.com>
Fri, 6 Jul 2018 11:21:59 +0000 (11:21 +0000)
committerRaúl Marín Rodríguez <rmrodriguez@carto.com>
Fri, 6 Jul 2018 11:21:59 +0000 (11:21 +0000)
Closes #4115
Closes https://github.com/postgis/postgis/pull/263

git-svn-id: http://svn.osgeo.org/postgis/trunk@16636 b70326c6-7e19-0410-871a-916f4a2858ee

NEWS
postgis/mvt.c

diff --git a/NEWS b/NEWS
index 98036c5afd6722404951248867021fabbcfccb6f..ca1536fa4e0845546f450e8b2bcc3205046080d8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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
index f9e449f8207f1c4e2d7e4c3859b04ff8e6a62e46..2a94eed3db60b64d0f810e1841859d1a3d555288 100644 (file)
@@ -1054,7 +1054,6 @@ vectortile_layer_combine(const VectorTile__Tile__Layer *layer1, const VectorTile
        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);