mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-24 02:41:15 +00:00
Skip over properties with null values instead of considering it an error
This commit is contained in:
parent
1aea522ef5
commit
b05c5a9583
@ -420,6 +420,8 @@ void read_json(FILE *f, char *fname, char *layername, int maxzoom, int minzoom,
|
||||
metatype[m] = VT_BOOLEAN;
|
||||
metaval[m] = properties->values[i]->string;
|
||||
m++;
|
||||
} else if (properties->values[i] != NULL && (properties->values[i]->type == JSON_NULL)) {
|
||||
;
|
||||
} else {
|
||||
fprintf(stderr, "%s:%d: Unsupported property type for %s\n", fname, jp->line, properties->keys[i]->string);
|
||||
goto next_feature;
|
||||
|
Loading…
x
Reference in New Issue
Block a user