forked from JJediny/DataSourceEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCsvCatalogItem.json
More file actions
155 lines (155 loc) · 4.31 KB
/
Copy pathCsvCatalogItem.json
File metadata and controls
155 lines (155 loc) · 4.31 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"title": "CSV file",
"description": "A comma-separated value file to be loaded as either points or mapped to regions.",
"type": "object",
"allOf": [
{
"$ref": "CatalogItem.json"
}
],
"defaultProperties": [
"name",
"type",
"url"
],
"properties": {
"type": {
"type": "string",
"enum": [
"csv"
]
},
"tableStyle": {
"type": "object",
"title": "Table styling",
"defaultProperties": [
"colorMap"
],
"properties": {
"scale": {
"title": "Scale",
"description": "For scaled point (lat/lon) datasets, how much to scale by. ",
"type": "number",
"default": 1,
"propertyOrder": 130
},
"scaleByValue": {
"title": "Scale by value",
"description": "For point (lat/lon) datasets, draw each point/image bigger depending on the value of the data variable.",
"type": "boolean",
"format": "checkbox",
"propertyOrder": 131
},
"colorMap": {
"title": "Color mappings",
"type": "array",
"format": "table",
"propertyOrder": 1500,
"options": {
"collapsed": true
},
"items": {
"title": "Color mapping",
"type": "object",
"properties": {
"color": {
"title": "Color"
},
"offset": {
"title": "Offset",
"type": "number"
}
}
}
},
"displayDuration": {
"title": "Display duration",
"description": "In minutes. # I don't know what this does, really.",
"type": "integer",
"propertyOrder": 151
},
"maxDisplayValue": {
"title": "Maximum display value",
"description": "Upper end of color or point scaled range.",
"type": "integer",
"propertyOrder": 100
},
"minDisplayValue": {
"title": "Minimum display value",
"description": "Lower end of color or point scaled range.",
"type": "integer",
"propertyOrder": 99
},
"imageUrl": {
"title": "Image URL",
"description": "URL of an image to display at each point.",
"type": "string"
},
"regionType": {
"title": "Region type",
"type": "string",
"enum": [
"STE",
"SA4",
"SA3",
"SA2",
"POA",
"CED",
"SED",
"LGA",
"SSC",
"CNT2",
"CNT3"
],
"options": {
"enum_titles": [
"State/territory (STE)",
"Statistical area 4 (SA4)",
"Statistical area 3 (SA3)",
"Statistical area 2 (SA2)",
"Postcodes/postal areas (POA)",
"Commonwealth electoral districts (CED)",
"State electoral districts (SED)",
"Local government areas (LGA)",
"State suburbs (SSC)",
"2-letter country codes (CNT2)",
"3-letter country codes (CNT3)"
],
"input_width": "300px",
"remove_empty_properties": true
}
},
"dataVariable": {
"title": "Data variable",
"type": "string",
"description": "Column containing a numeric value to use for colour coding.",
"options": {
"remove_empty_properties": true
}
},
"regionVariable": {
"title": "Region variable",
"description": "Name of the column containing region names.",
"type": "string",
"options": {
"remove_empty_properties": true
}
},
"legendTicks": {
"title": "Legend ticks",
"description": "How many discrete colours to show in the legend on the Now Viewing page.",
"type": "integer",
"options": {
"remove_empty_properties": true
}
}
}
},
"keepOnTop": {
"title": "Keep on top",
"description": "Keeps the layer on top of all other imagery layers.",
"type": "boolean",
"format": "checkbox"
}
}
}