-
Notifications
You must be signed in to change notification settings - Fork 0
/
layers.js
242 lines (239 loc) · 6.04 KB
/
layers.js
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
var data = require("users/irtharles/gpw-view-tool:data.js");
// Carregar as imagens
var images = data.loadImages();
var LAYERS = [
{
key: "esa_worldcover_v2_2020",
layerName: "ESA WorldCover v2 2020",
imagem: images.worldCoverV2,
visible: true,
bands: ["Map"],
palette: [
"006400",
"ffbb22",
"ffff4c",
"f096ff",
"fa0000",
"b4b4b4",
"f0f0f0",
"0064c8",
"0096a0",
"00cf75",
"fae6a0",
],
classNames: [
"Tree cover",
"Shrubland",
"Grassland",
"Cropland",
"Built-up",
"Bare / sparse vegetation",
"Snow and ice",
"Permanent water bodies",
"Herbaceous wetland",
"Mangroves",
"Moss and lichen",
],
imagemDictDataset: {
10: "Tree cover",
20: "Shrubland",
30: "Grassland",
40: "Cropland",
50: "Built-up",
60: "Bare / sparse vegetation",
70: "Snow and ice",
80: "Permanent water bodies",
90: "Herbaceous wetland",
95: "Mangroves",
100: "Moss and lichen",
},
},
{
key: "gpw_2020",
layerName: "Global Pasture Watch 2020",
imagem: images.gpw2020,
visible: true,
bands: [],
palette: ["ffd700", "ffa500"],
classNames: ["Cultivated grassland", "Natural/semi-natural grassland"],
imagemDictDataset: {
1: "Cultivated grassland",
2: "Natural/Semi-Natural grassland",
},
},
{
key: "glc_fcs_2020",
layerName: "GLC-FCS30D 2020",
imagem: images.glcfcsRecode,
visible: true,
bands: [],
palette: [
"ffff64",
"ffff64",
"ffff00",
"aaf0f0",
"4c7300",
"006400",
"a8c800",
"00a000",
"005000",
"003c00",
"286400",
"285000",
"a0b432",
"788200",
"966400",
"964b00",
"966400",
"ffb432",
"ffdcd2",
"ffebaf",
"ffd278",
"ffebaf",
"00a884",
"73ffdf",
"9ebb3b",
"828282",
"f57ab6",
"66cdab",
"444f89",
"c31400",
"fff5d7",
"dcdcdc",
"fff5d7",
"0046c8",
"ffffff",
"ffffff",
"ffffff",
],
classNames: [
"Rainfed cropland",
"Herbaceous cover cropland",
"Tree or shrub cover (Orchard) cropland",
"Irrigated cropland",
"Open evergreen broadleaved forest",
"Closed evergreen broadleaved forest",
"Open deciduous broadleaved forest (0.15<fc<0.4)",
"Closed deciduous broadleaved forest (fc>0.4)",
"Open evergreen needle-leaved forest (0.15< fc <0.4)",
"Closed evergreen needle-leaved forest (fc >0.4)",
"Open deciduous needle-leaved forest (0.15< fc <0.4)",
"Closed deciduous needle-leaved forest (fc >0.4)",
"Open mixed leaf forest (broadleaved and needle-leaved)",
"Closed mixed leaf forest (broadleaved and needle-leaved)",
"Shrubland",
"Evergreen shrubland",
"Deciduous shrubland",
"Grassland",
"Lichens and mosses",
"Sparse vegetation (fc<0.15)",
"Sparse shrubland (fc<0.15)",
"Sparse herbaceous (fc<0.15)",
"Swamp",
"Marsh",
"Flooded flat",
"Saline",
"Mangrove",
"Salt marsh",
"Tidal flat",
"Impervious surfaces",
"Bare areas",
"Consolidated bare areas",
"Unconsolidated bare areas",
"Water body",
"Permanent ice and snow",
"Filled value",
],
imagemDictDataset: {
10: "Rainfed cropland",
11: "Herbaceous cover cropland",
12: "Tree or shrub cover (Orchard) cropland",
20: "Irrigated cropland",
51: "Open evergreen broadleaved forest",
52: "Closed evergreen broadleaved forest",
61: "Open deciduous broadleaved forest (0.15<fc<0.4)",
62: "Closed deciduous broadleaved forest (fc>0.4)",
71: "Open evergreen needle-leaved forest (0.15< fc <0.4)",
72: "Closed evergreen needle-leaved forest (fc >0.4)",
81: "Open deciduous needle-leaved forest (0.15< fc <0.4)",
82: "Closed deciduous needle-leaved forest (fc >0.4)",
91: "Open mixed leaf forest (broadleaved and needle-leaved)",
92: "Closed mixed leaf forest (broadleaved and needle-leaved)",
120: "Shrubland",
121: "Evergreen shrubland",
122: "Deciduous shrubland",
130: "Grassland",
140: "Lichens and mosses",
150: "Sparse vegetation (fc<0.15)",
152: "Sparse shrubland (fc<0.15)",
153: "Sparse herbaceous (fc<0.15)",
181: "Swamp",
182: "Marsh",
183: "Flooded flat",
184: "Saline",
185: "Mangrove",
186: "Salt marsh",
187: "Tidal flat",
190: "Impervious surfaces",
200: "Bare areas",
201: "Consolidated bare areas",
202: "Unconsolidated bare areas",
210: "Water body",
220: "Permanent ice and snow",
0: "Filled value",
},
},
{
key: "glad_lclu_2020",
layerName: "GLAD LCLU 2020",
imagem: images.GLCLU2020,
visible: true,
bands: [],
palette: [
"FAFAC3",
"E0E081",
"B0B006",
"065106",
"B7BDC2",
"73A7D6",
"0986F7",
"3B7C81",
"1147DD",
"ffffff",
"ff7d00",
"64dcdc",
"111133",
],
classNames: [
"Terra Firma - True desert",
"Terra Firma - Semi-arid",
"Terra Firma - Dense short vegetation",
"Terra Firma - Tree cover",
"Wetland - Salt pan",
"Wetland - Sparse vegetation",
"Wetland - Dense short vegetation",
"Wetland - Tree cover",
"Open surface water",
"Snow/ice",
"Cropland",
"Built-up",
"Ocean",
],
imagemDictDataset: {
1: "Terra Firma - True desert",
2: "Terra Firma - Semi-arid",
3: "Terra Firma - Dense short vegetation",
4: "Terra Firma - Tree cover",
5: "Wetland - Salt pan",
6: "Wetland - Sparse vegetation",
7: "Wetland - Dense short vegetation",
8: "Wetland - Tree cover",
9: "Open surface water",
10: "Snow/ice",
11: "Cropland",
12: "Built-up",
13: "Ocean",
},
},
];
exports.LAYERS = LAYERS;