Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Landslide Detection for Rapid Mapping Using Sentinel 2

//VERSION=3.Landslide_detection.UNSPIDER


//by Norma davila & Alexander Ariza


function setup() {
  return {
    input: ["B02", "B03", "B04", "B08", "B11", "CLM"],
    output: { bands: 3 },

  };
}

function stretch(val, min, max) { return (val - min) / (max - min); }

function evaluatePixel(sample) {
  var bsi = ((sample.B11 + sample.B04) - (sample.B08 + sample.B02)) / ((sample.B11 + sample.B04) + (sample.B08 + sample.B02));
  var NDVI = index(sample.B08, sample.B04);
  var NDWI = index(sample.B03, sample.B08);
  if (sample.CLM == 1) {
    return [sample.B04,
    sample.B03,
    3 * sample.B02]
  }

  if (NDWI > 0.15) {
    return [0, 0.2, 1.0 * NDWI]
  }
  if ((sample.B11 > 0.8) || (NDVI < 0.15)) {
    return [1.5, 0.7, -1]
  }
  if (NDVI > 0.25) {
    return [0, 0.2 * NDVI, 0]
  }
  else {
    return [3.5 * bsi, 0.3, 0]
  }

}

Evaluate and Visualize

General description of the script

This repository is a custom script explained for detecting landslides using space-based data on EO Browser. Its goal is to facilitate the landslide inventory and rapid mapping in disaster management.

Details of the script

The script to landslide detection for rapid mapping is based on the response of the Barren Soil Index BSI to detect recent traces of soil movements. The results allow us to extract the shapes of the landslides in the terrain and to calculate their direction of movement. In the same way, The script uses the NDWI, NDVI, and B11 for differentiating between water with sediment, built-up areas, barren areas and vegetated areas. The image obtained show the landslides and barren soil brown color, the water blue tones depending on sediments load, built-up areas orange-yellow, and vegetation and other covers in dark green. All pixels related to landslide or barren soil corresponding to values that B11 lower than 0.8 of reflectivity or NDVI values greater than 0.15, returning the BSI in the red and green channel (showing in brown to orange); the rest of the values are linked with built-up and urban areas (showing in orange to yellow); other pixels with NDVI values greater than 0.25 are associated to vegetation (showing NDVI in the green channel). Finally, pixels with NDWI values greater than 0.15 are considered as water, that depending on the sediment load will appear in blue tones.

The first script version confused the high reflectivity of clouds with the bare soil; for this reason, the new script includes a Cloud mask computed using the CLP (cloud probabilities) of s2cloudless, which are available at Sentinel Hub. The script returns three bands (R/G/B and CLM) will result in a real image, as well as the fraction of cloudy pixels per each observation.

See also author’s GitHub repository for more information.

Authors of the script

Alexander Ariza, Norma Davila

Description of representative images

The outcomes are shown according to R:G:B composite image where the yellow color represents bare soils, while orange and brown colors are linked to surficial soils or debris slides, which have suffered a remotion or emplacement motion. Particularly, for an active landslide, both colors matching with vertical erosion towards the proximal area of the landslide (headwerd) or over talud deposits.

The script example 1

The preliminary results showed that the use of BSI, NDVI and NDWI in combination with the B11 reflectance are sufficient to identify recent traces of soil movements useful for rapid mapping response during a disaster event. In this case, the use of the BSI index itself has not able to characterize the landslide configurations on terrain, due to after landslide event, the spectral response change shortly especially over zones with fast reactivation in the vegetation cover. Therefore, in order to improve the interpretation of the results, we recommended a temporal analysis (pre and post events) to get better outcomes of BSI values linked to landslide targets.

Landslide detection for rapid mapping KML layer exported from EO Browser over 3D model in Google Earth

The script example 2

Sentinel 2 image acquired by 01/09/2020 before landslide events in Queja - Alta Verapaz comparing spectral indexes on bare soils

The script example 3

Sentinel 2 image acquired by 10/11/2020 after landslide events in Queja - Alta Verapaz comparing spectral indexes on bare soils

The script example 4

Limitations exist when the script trying to separate barren soil from buildings and urban areas, due to a similar spectral response. Therefore, this script gets better results in rural regions along roads and built-up emplaced on steep slopes, where the landslides occurrence currently; facilitating the rapid mapping of landslides in case of disasters. For future improvements, we recommend the use of a digital elevation model as a mask to get better landslides discrimination concerning other covers.

Landslide detection for rapid mapping KML layer exported from EO Browser over 3D model in Google Earth

The script example 5

References

[1] Ariza Ortiz, A., Roa Melgarejo, O. J., Serrato, P. K., & LeÛn RincÛn, H. A. (2018). Using spectral ratios derived from remote sensing to geomorphological surveys in island areas of the Colombian Caribbean. Perspectiva Geogr·fica. Link

[2] D·vila-Hern·ndez, N., Lira, J., Capra-Pedol, L., & Zucca, F. (2011). A normalized difference lahar index based on Terra/Aster and Spot 5 images: An application at Colima Volcano, Mexico. Revista Mexicana de Ciencias Geologicas.

Credits

For the Landslide detection script the Barren soil index BSI and the a version modified of Urban Classification proposed by Monja Šebela was used.