Nested attributes do work in Geobuf. Remove coercion to string.

This commit is contained in:
Eric Fischer 2018-03-19 13:46:50 -07:00
parent c64a39cc58
commit e0ab754714
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ test: tippecanoe tippecanoe-decode $(addsuffix .check,$(TESTS)) raw-tiles-test p
rm $@.out $@.mbtiles
# Don't test overflow with geobuf, because it fails (https://github.com/mapbox/geobuf/issues/87)
nogeobuf = tests/overflow/out/-z0.json tests/dateline/out/-z5.json
nogeobuf = tests/overflow/out/-z0.json
geobuf-test: tippecanoe-json-tool $(addsuffix .checkbuf,$(filter-out $(nogeobuf),$(TESTS)))
# For quicker address sanitizer build, hope that regular JSON parsing is tested enough by parallel and join tests

View File

@ -77,7 +77,7 @@ serial_val readValue(protozero::pbf_reader &pbf) {
break;
case 6:
sv.type = mvt_string; // stringified JSON
sv.type = mvt_hash; // stringified JSON
sv.s = pbf.get_string();
if (sv.s == "null") {