Don't convert types of attributes without accumulators

This commit is contained in:
Erica Fischer
2024-01-24 11:14:50 -08:00
parent 0035d40e41
commit bdc0f207ae
2 changed files with 11 additions and 6 deletions
-4
View File
@@ -667,10 +667,6 @@ json_object *parse_filter(const char *s) {
bool evaluate(mvt_feature const &feat, mvt_layer const &layer, json_object *filter, std::set<std::string> &exclude_attributes, int z) {
if (filter != NULL) {
if (filter->type == JSON_TRUE) {
return true;
}
std::map<std::string, mvt_value> attributes;
for (size_t t = 0; t + 1 < feat.tags.size(); t += 2) {