Lazy linear scan of attributes instead of building a map

This commit is contained in:
Erica Fischer
2024-01-24 14:18:50 -08:00
parent 70d99d865a
commit abacc17574
5 changed files with 80 additions and 54 deletions
+1
View File
@@ -1594,6 +1594,7 @@ serial_feature next_feature(decompressor *geoms, std::atomic<long long> *geompos
}
if (filter != NULL) {
printf("%s\n", json_stringify(filter));
std::unordered_map<std::string, mvt_value> attributes;
std::string layername = (*layer_unmaps)[sf.segment][sf.layer];
std::set<std::string> exclude_attributes;