-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.json
95 lines (95 loc) · 2.48 KB
/
config.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
89
90
91
92
93
94
95
{
"data": {
"table": "data",
"fields": [
"id",
"strftime('%Y-%m-%d %H:%M',datetime(timestamp, 'localtime')) AS Timestamp",
"structure_type AS 'Structure Type'",
"damage_severity AS 'Damage Severity'",
"damage_area AS 'Damage Area'",
"damage_type AS 'Damage Type'",
"uploads AS Photos",
"lat || ', ' || lng AS Location",
"lng AS x",
"lat AS y"
]
},
"app": {
"title": "Damage Reporter",
"description": "",
"author": ""
},
"navbar": {
"icon": "",
"title": "Building Damage Reporter"
},
"twitter": {
"via": "fulcrumapp",
"tweet": "Check it out!"
},
"text": {
"newItem": "Damage Report",
"downloadFileName": "damage"
},
"about": {
"showAtStartup": false,
"title": "Post Storm Building Damage Reporter",
"text": "This is a simple citizen-driven app for quick reporting of visible damage to a building after a storm or other disaster. Assess the severity of the damage while including photos, documenting damage type, and more. Documenting structural hazards is critical for the safety of first responders on the scene assisting with cleanup and humanitarian aid."
},
"sidebar": {
"titleField": "Timestamp",
"sortOrder": "desc"
},
"marker": {
"titleField": "Damage Severity",
"cluster": true,
"layer": {
"name": "Damage Reports"
},
"icon": {
"iconUrl": "assets/img/markers/cb0d0c.png",
"iconSize": [30, 40],
"iconAnchor": [15, 32],
"popupAnchor": [0, -20]
},
"status": {
"field": "Damage Severity",
"values": [{
"name": "Destroyed",
"icon": {
"iconUrl": "assets/img/markers/87d30f.png",
"iconSize": [30, 40],
"iconAnchor": [15, 32],
"popupAnchor": [0, -20]
}
},
{
"name": "Major",
"icon": {
"iconUrl": "assets/img/markers/cb0d0c.png",
"iconSize": [30, 40],
"iconAnchor": [15, 32],
"popupAnchor": [0, -20]
}
},
{
"name": "Minor",
"icon": {
"iconUrl": "assets/img/markers/1891c9.png",
"iconSize": [30, 40],
"iconAnchor": [15, 32],
"popupAnchor": [0, -20]
}
},
{
"name": "None",
"icon": {
"iconUrl": "assets/img/markers/ff8819.png",
"iconSize": [30, 40],
"iconAnchor": [15, 32],
"popupAnchor": [0, -20]
}
}]
}
}
}