Provision for different mvt_values to share a string pool

This commit is contained in:
Erica Fischer
2024-01-25 14:19:02 -08:00
parent 697b9d6e11
commit 7409d17f13
6 changed files with 58 additions and 31 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ void layer_to_geojson(mvt_layer const &layer, unsigned z, unsigned x, unsigned y
switch (val.type) {
case mvt_string:
state.json_write_string(key);
state.json_write_string(*(val.string_value));
state.json_write_string(val.get_string_value());
break;
case mvt_int:
state.json_write_string(key);