CORINE Land Cover visualisation script

//VERSION=3
function setup() {
  return {
    input: ["CLC", "dataMask"],
    output: {
      bands: 4,
      sampleType: "AUTO"
    }
  }
}

const map = [
  [1, 0xe6004d],  //111 - Continuous urban fabric
  [2, 0xff0000],  //112 - Discontinuous urban fabric
  [3, 0xcc4df2],  //121 - Industrial or commercial units
  [4, 0xcc0000],  //122 - Road and rail networks and associated land
  [5, 0xe6cccc],  //123 - Port areas
  [6, 0xe6cce6],  //124 - Airports
  [7, 0xa600cc],  //131 - Mineral extraction sites
  [8, 0xa64d00],  //132 - Dump sites
  [9, 0xff4dff],  //133 - Construction sites
  [10, 0xffa6ff], //141 - Green urban areas
  [11, 0xffe6ff], //142 - Sport and leisure facilities
  [12, 0xffffa8], //211 - Non-irrigated arable land
  [13, 0xffff00], //212 - Permanently irrigated land
  [14, 0xe6e600], //213 - Rice fields
  [15, 0xe68000], //221 - Vineyards
  [16, 0xf2a64d], //222 - Fruit trees and berry plantations
  [17, 0xe6a600], //223 - Olive groves
  [18, 0xe6e64d], //231 - Pastures
  [19, 0xffe6a6], //241 - Annual crops associated with permanent crops
  [20, 0xffe64d], //242 - Complex cultivation patterns
  [21, 0xe6cc4d], //243 - Land principally occupied by agriculture with significant areas of natural vegetation
  [22, 0xf2cca6], //244 - Agro-forestry areas
  [23, 0x80ff00], //311 - Broad-leaved forest
  [24, 0x00a600], //312 - Coniferous forest
  [25, 0x4dff00], //313 - Mixed forest
  [26, 0xccf24d], //321 - Natural grasslands
  [27, 0xa6ff80], //322 - Moors and heathland
  [28, 0xa6e64d], //323 - Sclerophyllous vegetation
  [29, 0xa6f200], //324 - Transitional woodland-shrub
  [30, 0xe6e6e6], //331 - Beaches - dunes - sands
  [31, 0xcccccc], //332 - Bare rocks
  [32, 0xccffcc], //333 - Sparsely vegetated areas
  [33, 0x000000], //334 - Burnt areas
  [34, 0xa6e6cc], //335 - Glaciers and perpetual snow
  [35, 0xa6a6ff], //411 - Inland marshes
  [36, 0x4d4dff], //412 - Peat bogs
  [37, 0xccccff], //421 - Salt marshes
  [38, 0xe6e6ff], //422 - Salines
  [39, 0xa6a6e6], //423 - Intertidal flats
  [40, 0x00ccf2], //511 - Water courses
  [41, 0x80f2e6], //512 - Water bodies
  [42, 0x00ffa6], //521 - Coastal lagoons
  [43, 0xa6ffe6], //522 - Estuaries
  [44, 0xe6f2ff], //523 - Sea and ocean
  [48, 0xffffff]  //999 - NODATA
];

const visualizer = new ColorMapVisualizer(map);

function evaluatePixel(sample) {
  let rgbVis = visualizer.process(sample.CLC);
  return rgbVis.concat(sample.dataMask);
}

General description

This script visualises CORINE Land Cover data according to the official CORINE Land Cover color scheme.

For more details about the classes, please see the official CORINE Land Cover nomenclature guidelines or the illustrated nomenclature guidelines document.

Table 1: CORINE Land Cover nomenclature and colouring scheme.

Value Color Label
1 111 - Continuous urban fabric
2 112 - Discontinuous urban fabric
3 121 - Industrial or commercial units
4 122 - Road and rail networks and associated land
5 123 - Port areas
6 124 - Airports
7 131 - Mineral extraction sites
8 132 - Dump sites
9 133 - Construction sites
10 141 - Green urban areas
11 142 - Sport and leisure facilities
12 211 - Non-irrigated arable land
13 212 - Permanently irrigated land
14 213 - Rice fields
15 221 - Vineyards
16 222 - Fruit trees and berry plantations
17 223 - Olive groves
18 231 - Pastures
19 241 - Annual crops associated with permanent crops
20 242 - Complex cultivation patterns
21 243 - Land principally occupied by agriculture with significant areas of natural vegetation
22 244 - Agro-forestry areas
23 311 - Broad-leaved forest
24 312 - Coniferous forest
25 313 - Mixed forest
26 321 - Natural grasslands
27 322 - Moors and heathland
28 323 - Sclerophyllous vegetation
29 324 - Transitional woodland-shrub
30 331 - Beaches - dunes - sands
31 332 - Bare rocks
32 333 - Sparsely vegetated areas
33 334 - Burnt areas
34 335 - Glaciers and perpetual snow
35 411 - Inland marshes
36 412 - Peat bogs
37 421 - Salt marshes
38 422 - Salines
39 423 - Intertidal flats
40 511 - Water courses
41 512 - Water bodies
42 521 - Coastal lagoons
43 522 - Estuaries
44 523 - Sea and ocean
48 999 - NODATA

Description of representative images

CORINE Land Cover dataset over the Alps in EO Browser. CORINE Land Cover dataset over the Alps

CORINE Land Cover dataset over Guadeloupe and Martinique, two French DOMs, in EO Browser. CORINE Land Cover dataset over Guadeloupe and Martinique

Resources