mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-04-25 13:30:09 +00:00
Be clear that empty lists and objects are allowed, and are failing
This commit is contained in:
parent
0b8dc68a03
commit
04adb8beba
@ -18,11 +18,11 @@
|
|||||||
,
|
,
|
||||||
{ "type": "Feature", "properties": { "more2": {"something":{"type":"Point","coordinates":[2,2]}} }, "geometry": { "type": "LineString", "coordinates": [ [ 0.000000, 0.000000 ], [ 0.966797, 1.054628 ] ] } }
|
{ "type": "Feature", "properties": { "more2": {"something":{"type":"Point","coordinates":[2,2]}} }, "geometry": { "type": "LineString", "coordinates": [ [ 0.000000, 0.000000 ], [ 0.966797, 1.054628 ] ] } }
|
||||||
,
|
,
|
||||||
{ "type": "Feature", "properties": { "nested": {"type":"Feature","properties":null,"geometry":{"type":"Point","coordinates":[2,2]}} }, "geometry": { "type": "LineString", "coordinates": [ [ 0.000000, 0.000000 ], [ 0.966797, 1.054628 ] ] } }
|
{ "type": "Feature", "properties": { "nested": {"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[2,2]}} }, "geometry": { "type": "LineString", "coordinates": [ [ 0.000000, 0.000000 ], [ 0.966797, 1.054628 ] ] } }
|
||||||
,
|
,
|
||||||
{ "type": "Feature", "properties": { "deeper": [{"type":"Feature","properties":null,"geometry":{"type":"Point","coordinates":[2,2]}}] }, "geometry": { "type": "LineString", "coordinates": [ [ 0.000000, 0.000000 ], [ 0.966797, 1.054628 ] ] } }
|
{ "type": "Feature", "properties": { "deeper": [{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[2,2]}}] }, "geometry": { "type": "LineString", "coordinates": [ [ 0.000000, 0.000000 ], [ 0.966797, 1.054628 ] ] } }
|
||||||
,
|
,
|
||||||
{ "type": "Feature", "properties": { "more": {"something":{"type":"Feature","properties":null,"geometry":{"type":"Point","coordinates":[2,2]}}} }, "geometry": { "type": "LineString", "coordinates": [ [ 0.000000, 0.000000 ], [ 0.966797, 1.054628 ] ] } }
|
{ "type": "Feature", "properties": { "more": {"something":{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[2,2]}}} }, "geometry": { "type": "LineString", "coordinates": [ [ 0.000000, 0.000000 ], [ 0.966797, 1.054628 ] ] } }
|
||||||
,
|
,
|
||||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 0.000000, 0.000000 ], [ 0.966797, 1.054628 ] ] } }
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 0.000000, 0.000000 ], [ 0.966797, 1.054628 ] ] } }
|
||||||
] }
|
] }
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
"array": [
|
"array": [
|
||||||
"string", 10, null, true, false, [ 1, 2, 3 ], { "this": "that" }
|
"string", 10, null, true, false, [ 1, 2, 3 ], { "this": "that" }
|
||||||
],
|
],
|
||||||
|
"emptylist": [],
|
||||||
|
"emptyhash": {},
|
||||||
"nest": { "something": "else" }
|
"nest": { "something": "else" }
|
||||||
}
|
}
|
||||||
}, "geometry": { "type": "Point", "coordinates": [ 0,0 ]} }
|
}, "geometry": { "type": "Point", "coordinates": [ 0,0 ]} }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user