-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
test.json
88 lines (88 loc) · 3.17 KB
/
test.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"expression": ["distance", {
"type": "Feature",
"properties": {},
"geometry": {
"type": "MultiPoint",
"coordinates": [[103.88174057006836, 1.3316290644037233], [103.88568878173828, 1.330084528768254], [103.88139724731446, 1.3288832226055889], [103.88448715209961, 1.3271670699311869], [103.88156890869139, 1.3263089931473214], [103.88895034790039, 1.3285399921660488], [103.91641616821289, 1.360631830379095], [103.91899108886719, 1.3602886044036287], [103.91710281372069, 1.3596021523062254], [103.91435623168946, 1.3620047337924648], [103.91332626342774, 1.3599453783793346], [103.95761489868164, 1.351021484651125], [103.95967483520508, 1.3518795527836272], [103.95538330078125, 1.3556550489612674], [103.95418167114258, 1.355483435626243], [103.95452499389649, 1.353767301607359]]
}
}],
"inputs": [[{
"zoom": 13,
"canonicalID": {
"z": 13,
"x": 6460,
"y": 4065
}
}, {
"geometry": {
"type": "Point",
"coordinates": [103.91959190368653, 1.3218898930028449]
}
}], [{
"zoom": 13,
"canonicalID": {
"z": 13,
"x": 6460,
"y": 4065
}
}, {
"geometry": {
"type": "Point",
"coordinates": [103.92658710479737, 1.3294838757599914]
}
}], [{
"zoom": 13,
"canonicalID": {
"z": 13,
"x": 6460,
"y": 4065
}
}, {
"geometry": {
"type": "Point",
"coordinates": [103.91602993011475, 1.330642277859313]
}
}], [{
"zoom": 13,
"canonicalID": {
"z": 13,
"x": 6460,
"y": 4065
}
}, {
"geometry": {
"type": "Point",
"coordinates": [103.91246795654297, 1.3363484728438336]
}
}], [{
"zoom": 13,
"canonicalID": {
"z": 13,
"x": 6460,
"y": 4065
}
}, {
"geometry": {
"type": "Point",
"coordinates": [103.8917827606201, 1.3479324368661275]
}
}]],
"expected": {
"outputs": [3488.48, 3493.58, 3022.62, 2610.96, 2086.8],
"serialized": ["distance", {
"properties": {},
"geometry": {
"type": "MultiPoint",
"coordinates": [[103.88174057006836, 1.3316290644037233], [103.88568878173828, 1.330084528768254], [103.88139724731446, 1.3288832226055889], [103.88448715209961, 1.3271670699311869], [103.88156890869139, 1.3263089931473214], [103.88895034790039, 1.3285399921660488], [103.91641616821289, 1.360631830379095], [103.91899108886719, 1.3602886044036287], [103.91710281372069, 1.3596021523062254], [103.91435623168946, 1.3620047337924648], [103.91332626342774, 1.3599453783793346], [103.95761489868164, 1.351021484651125], [103.95967483520508, 1.3518795527836272], [103.95538330078125, 1.3556550489612674], [103.95418167114258, 1.355483435626243], [103.95452499389649, 1.353767301607359]]
},
"type": "Feature"
}],
"compiled": {
"type": "number",
"isFeatureConstant": false,
"isZoomConstant": true,
"result": "success"
}
}
}