Run a portion of the format tests in node
This commit is contained in:
39
test/node/ol/format/TopoJSON/simple.json
Normal file
39
test/node/ol/format/TopoJSON/simple.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"type": "Topology",
|
||||
"objects": {
|
||||
"example": {
|
||||
"type": "GeometryCollection",
|
||||
"geometries": [
|
||||
{
|
||||
"type": "Point",
|
||||
"properties": {
|
||||
"prop0": "value0"
|
||||
},
|
||||
"coordinates": [102, 0.5]
|
||||
},
|
||||
{
|
||||
"type": "LineString",
|
||||
"properties": {
|
||||
"prop0": "value0",
|
||||
"prop1": 0
|
||||
},
|
||||
"arcs": [0]
|
||||
},
|
||||
{
|
||||
"type": "Polygon",
|
||||
"properties": {
|
||||
"prop0": "value0",
|
||||
"prop1": {
|
||||
"this": "that"
|
||||
}
|
||||
},
|
||||
"arcs": [[-2]]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"arcs": [
|
||||
[[102, 0], [103, 1], [104, 0], [105, 1]],
|
||||
[[100, 0], [101, 0], [101, 1], [100, 1], [100, 0]]
|
||||
]
|
||||
}
|
||||
1
test/node/ol/format/TopoJSON/world-110m.json
Normal file
1
test/node/ol/format/TopoJSON/world-110m.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user