Revert "Only do approximate attribute deduplication when writing tiles"

This reverts commit c42b34b498.
This commit is contained in:
Erica Fischer
2024-02-02 11:29:41 -08:00
parent 124462fbdc
commit 18509876c3
2 changed files with 35 additions and 19 deletions
+2 -1
View File
@@ -174,7 +174,8 @@ 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::vector<ssize_t> dedup = std::vector<ssize_t>(65536, -1);
std::unordered_map<std::string, size_t> key_map{};
std::unordered_map<mvt_value, size_t> value_map{};
};
struct mvt_tile {