Skip to content

Commit

Permalink
added multipolygon test and corrected output; two tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
stebogit committed Apr 22, 2017
1 parent 956cea7 commit 70f4d33
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "MultiLineString",
"coordinates": [
[
[
33.398,
46.867
],
[
34.057,
46.867
],
[
34.057,
47.197
],
[
33.398,
47.197
],
[
33.398,
46.867
]
],
[
[
33.42041015625,
46.164614496897094
],
[
34.12353515625,
46.58906908309182
],
[
34.73876953125,
46.73233101286786
],
[
35.013427734375,
47.34626718205302
],
[
34.07958984374999,
47.73193447949174
],
[
32.947998046875,
47.338822694822
],
[
32.354736328125,
46.73986059969267
],
[
32.54150390625,
46.240651955001695
],
[
33.42041015625,
46.164614496897094
]
],
[
[
32.969,
46.46
],
[
33.321,
46.46
],
[
33.321,
46.672
],
[
32.969,
46.672
],
[
32.969,
46.46
]
],
[
[
34.80468749999999,
48.29050321714062
],
[
35.04638671874999,
47.938426929481054
],
[
35.760498046875,
47.95314495015594
],
[
35.343017578125,
48.32703913063476
],
[
34.80468749999999,
48.29050321714062
]
],
[
[
35.99395751953125,
47.83528342275264
],
[
35.93902587890624,
47.73193447949174
],
[
36.15325927734375,
47.65428791076272
],
[
35.99395751953125,
47.83528342275264
]
],
[
[
35.244140625,
47.15984001304432
],
[
35.17822265625,
46.37725420510028
],
[
36.40869140625,
46.240651955001695
],
[
37.02392578125,
46.9502622421856
],
[
35.244140625,
47.15984001304432
]
],
[
[
33.4149169921875,
48.28684818710906
],
[
32.816162109375,
48.42191010942875
],
[
32.783203125,
48.09642606004488
],
[
33.3270263671875,
47.931066347509784
],
[
33.4149169921875,
48.28684818710906
]
],
[
[
34.178466796875,
48.436489955944154
],
[
35.101318359375,
47.57652571374621
],
[
37.3974609375,
47.48008846346322
],
[
38.133544921875,
48.777912755501845
],
[
35.92529296875,
49.930008124606886
],
[
34.178466796875,
48.436489955944154
]
]
]
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type":"Feature",
"properties":{
"stroke":"#F0F",
"stroke-width":6
},"geometry":{
"type":"MultiPolygon",
"coordinates":[
[
[[33.42041015625,46.164614496897094],[34.12353515625,46.58906908309182],[34.73876953125,46.73233101286786],[35.013427734375,47.34626718205302],[34.07958984374999,47.73193447949174],[32.947998046875,47.338822694822],[32.354736328125,46.73986059969267],[32.54150390625,46.240651955001695],[33.42041015625,46.164614496897094]],
[[33.398,46.867],[34.057,46.867],[34.057,47.197],[33.398,47.197],[33.398,46.867]],
[[32.969,46.46],[33.321,46.46],[33.321,46.672],[32.969,46.672],[32.969,46.46]]
],
[
[[34.178466796875,48.436489955944154],[35.101318359375,47.57652571374621],[37.3974609375,47.48008846346322],[38.133544921875,48.777912755501845],[35.92529296875,49.930008124606886],[34.178466796875,48.436489955944154]],[[34.80468749999999,48.29050321714062],[35.04638671874999,47.938426929481054],[35.760498046875,47.95314495015594],[35.343017578125,48.32703913063476],[34.80468749999999,48.29050321714062]],
[[35.99395751953125,47.83528342275264],[35.93902587890624,47.73193447949174],[36.15325927734375,47.65428791076272],[35.99395751953125,47.83528342275264]]
],
[
[[35.244140625,47.15984001304432],[35.17822265625,46.37725420510028],[36.40869140625,46.240651955001695],[37.02392578125,46.9502622421856],[35.244140625,47.15984001304432]]
],
[
[[33.4149169921875,48.28684818710906],[32.816162109375,48.42191010942875],[32.783203125,48.09642606004488],[33.3270263671875,47.931066347509784],[33.4149169921875,48.28684818710906]]
]
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"stroke-width": 6
},
"geometry": {
"type": "Polygon",
"type": "MultiPolygon",
"coordinates": [
[
[
Expand Down

0 comments on commit 70f4d33

Please sign in to comment.