-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiono_map_header.czml
46 lines (45 loc) · 1.26 KB
/
iono_map_header.czml
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
[
{
"id":"document",
"name":"{{ kml_name }}",
"version":"1.0",
"clock":{
"interval":"{{ MinTime }}Z/{{ MaxTime }}Z",
"currentTime":"{{ MinTime }}Z",
"multiplier":60,
"range":"LOOP_STOP",
"step":"SYSTEM_CLOCK_MULTIPLIER"
}
},
{% block czml_f2_qsos %}
{%- for row in Rows %}
{
"id": "id {{ row['Spotter'] }} f0f2{{ row['elev_tx'] }}",
"name": "time {{ row['timestamp'] }} f0f2 {{ row['dB'] }} kHz",
"description": "time {{ row['timestamp'] }} f0f2 {{ row['dB'] }} kHz",
"polygon": {
"positions": {
"cartographicDegrees": [
{{ row['tx_lng'] - 2.4 }}, {{ row['tx_lat'] - 1.15 }}, 0.0,
{{ row['tx_lng'] + 2.4 }}, {{ row['tx_lat'] - 1.15 }}, 0.0,
{{ row['tx_lng'] + 2.4 }}, {{ row['tx_lat'] + 1.15 }}, 0.0,
{{ row['tx_lng'] - 2.4 }}, {{ row['tx_lat'] + 1.15 }}, 0.0,
{{ row['tx_lng'] - 2.4 }}, {{ row['tx_lat'] - 1.15 }}, 0.0
]
},
"material": {
"solidColor": {
"color": {
{{ line_color(row['dB']) }}
}
}
},
"show": [
{
"boolean": true
}
]
}
}{{ "," if not loop.last }}
{%- endfor %}{% endblock %}
]