mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Top-level null filter now evaluates to true (#277)
This commit is contained in:
+1
-1
@@ -262,7 +262,7 @@ static int eval(std::function<mvt_value(std::string const &)> feature, json_obje
|
||||
} else if (f->type == JSON_FALSE) {
|
||||
return 0;
|
||||
} else if (f->type == JSON_NULL) {
|
||||
return -1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (f->type == JSON_NUMBER) {
|
||||
|
||||
Reference in New Issue
Block a user