Only do approximate attribute deduplication when writing tiles

This commit is contained in:
Erica Fischer
2024-02-01 16:06:42 -08:00
parent 910aff8fe7
commit c42b34b498
2 changed files with 16 additions and 32 deletions
+1 -2
View File
@@ -174,8 +174,7 @@ struct mvt_layer {
void tag(mvt_feature &feature, std::string const &key, mvt_value const &value);
// For tracking the key-value constants already used in this layer
std::unordered_map<std::string, size_t> key_map{};
std::unordered_map<mvt_value, size_t> value_map{};
std::vector<ssize_t> dedup = std::vector<ssize_t>(65536, -1);
};
struct mvt_tile {