Revert "Revert "Only do approximate attribute deduplication when writing tiles""

This reverts commit 18509876c3.
This commit is contained in:
Erica Fischer
2024-02-02 11:38:35 -08:00
parent 88aaa62b33
commit 09f225d324
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 {