Skip to content

Commit f93b60e

Browse files
committed
use same test as union
1 parent 1958310 commit f93b60e

File tree

2 files changed

+8
-36
lines changed

2 files changed

+8
-36
lines changed

tests/expected/heatmap.txt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
{"geometry": {"type": "Polygon", "coordinates": [[[-5.625000000000113, 52.482780222078254], [-5.625000000000113, 48.9224992637583], [-1.2131008896728105e-13, 48.9224992637583], [-1.2131008896728105e-13, 52.482780222078254], [-5.625000000000113, 52.482780222078254]]]}, "properties": {"n": 4.0}, "type": "Feature"}
2-
{"geometry": {"type": "Polygon", "coordinates": [[[-1.2131008896728105e-13, 52.482780222078254], [-1.2131008896728105e-13, 45.08903556483109], [5.62499999999987, 45.08903556483109], [5.62499999999987, 52.482780222078254], [-1.2131008896728105e-13, 52.482780222078254]]]}, "properties": {"n": 1.0}, "type": "Feature"}
3-
{"geometry": {"type": "Polygon", "coordinates": [[[5.62499999999987, 52.482780222078254], [5.62499999999987, 45.08903556483109], [11.24999999999986, 45.08903556483109], [11.24999999999986, 52.482780222078254], [5.62499999999987, 52.482780222078254]]]}, "properties": {"n": 4.0}, "type": "Feature"}
4-
{"geometry": {"type": "Polygon", "coordinates": [[[-5.625000000000113, 48.9224992637583], [-5.625000000000113, 45.08903556483109], [-1.2131008896728105e-13, 45.08903556483109], [-1.2131008896728105e-13, 48.9224992637583], [-5.625000000000113, 48.9224992637583]]]}, "properties": {"n": 3.0}, "type": "Feature"}
5-
{"geometry": {"type": "Polygon", "coordinates": [[[-5.625000000000113, 45.08903556483109], [-5.625000000000113, 40.97989806962022], [-1.2131008896728105e-13, 40.97989806962022], [-1.2131008896728105e-13, 45.08903556483109], [-5.625000000000113, 45.08903556483109]]]}, "properties": {"n": 7.0}, "type": "Feature"}
6-
{"geometry": {"type": "Polygon", "coordinates": [[[-1.2131008896728105e-13, 45.08903556483109], [-1.2131008896728105e-13, 40.97989806962022], [5.62499999999987, 40.97989806962022], [5.62499999999987, 45.08903556483109], [-1.2131008896728105e-13, 45.08903556483109]]]}, "properties": {"n": 4.0}, "type": "Feature"}
7-
{"geometry": {"type": "Polygon", "coordinates": [[[5.62499999999987, 45.08903556483109], [5.62499999999987, 40.97989806962022], [11.24999999999986, 40.97989806962022], [11.24999999999986, 45.08903556483109], [5.62499999999987, 45.08903556483109]]]}, "properties": {"n": 1.0}, "type": "Feature"}
1+
{"geometry": {"type": "Polygon", "coordinates": [[[4.21874999999975, 44.05601169578539], [4.21874999999975, 44.02442151965947], [4.2626953124997495, 44.02442151965947], [4.2626953124997495, 44.05601169578539], [4.21874999999975, 44.05601169578539]]]}, "properties": {"n": 1.0}, "type": "Feature"}
2+
{"geometry": {"type": "Polygon", "coordinates": [[[4.21874999999975, 43.86621800655652], [4.21874999999975, 43.834526782236956], [4.2626953124997495, 43.834526782236956], [4.2626953124997495, 43.86621800655652], [4.21874999999975, 43.86621800655652]]]}, "properties": {"n": 1.0}, "type": "Feature"}
3+
{"geometry": {"type": "Polygon", "coordinates": [[[4.21874999999975, 40.11168866559609], [4.21874999999975, 40.07807142745022], [4.2626953124997495, 40.07807142745022], [4.2626953124997495, 40.11168866559609], [4.21874999999975, 40.11168866559609]]]}, "properties": {"n": 1.0}, "type": "Feature"}
4+
{"geometry": {"type": "Polygon", "coordinates": [[[4.042968749999755, 39.90973623453731], [4.042968749999755, 39.87601941962127], [4.086914062499754, 39.87601941962127], [4.086914062499754, 39.90973623453731], [4.042968749999755, 39.90973623453731]]]}, "properties": {"n": 1.0}, "type": "Feature"}

tests/fixtures/heatmap.txt

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,4 @@
1-
[31, 21, 6]
2-
[32, 21, 6]
3-
[33, 21, 6]
4-
[31, 22, 6]
5-
[32, 22, 6]
6-
[33, 22, 6]
7-
[31, 23, 6]
8-
[32, 23, 6]
9-
[33, 23, 6]
10-
[33, 21, 6]
11-
[31, 22, 6]
12-
[31, 23, 6]
13-
[33, 22, 6]
14-
[33, 22, 6]
15-
[33, 22, 6]
16-
[31, 23, 6]
17-
[31, 23, 6]
18-
[33, 21, 6]
19-
[33, 21, 6]
20-
[32, 23, 6]
21-
[31, 22, 6]
22-
[31, 21, 6]
23-
[31, 23, 6]
24-
[31, 23, 6]
25-
[31, 23, 6]
26-
[31, 21, 6]
27-
[31, 21, 6]
28-
[32, 23, 6]
29-
[32, 23, 6]
1+
[4188, 3104, 13]
2+
[4192, 2977, 13]
3+
[4192, 3098, 13]
4+
[4192, 2983, 13]

0 commit comments

Comments
 (0)