Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Seleccionar bandas en variable nueva
var ImageMap_Bosques2000_band = Datos_Bosques.select('treecover2000');
// Enmascarar en variable nueva
var ImageMap_Bosques2000_Final = ImageMap_Bosques2000_band
.mask(ImageMap_Bosques2000_band)
.clip(RdI_Poligono);
var VisParams_Bosques2000 = {
min: 0,
max: 100,
palette: ['B7EFC5','6EDE8A','2DC653','208B3A','155D27']
};
Map.addLayer(ImageMap_Bosques2000_Final,
VisParams_Bosques2000, 'Situacion en el 2000 (con máscara)' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment