From bc3cfed3357cd7179bfb49c3cc1c16d35ad3c669 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Mar=C3=ADn=20Rodr=C3=ADguez?= Date: Fri, 6 Jul 2018 11:21:59 +0000 Subject: [PATCH] MVT combine: Fix bug with invalid property values 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 | 9 +++++++++ postgis/mvt.c | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 98036c5af..ca1536fa4 100644 --- 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 diff --git a/postgis/mvt.c b/postgis/mvt.c index f9e449f82..2a94eed3d 100644 --- a/postgis/mvt.c +++ b/postgis/mvt.c @@ -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); -- 2.40.0