The Land Surface Water Index (LSWI) was developed by Xiao et al. to monitor vegetation and soil water content. LSWI is sensitive to liquid water in vegetation due to strong SWIR absorption by water. It is widely used for drought monitoring, water stress detection, and integration into vegetation productivity models.

Used in water detection.

When to use

  • Permanent and seasonal water body delineation
  • Flood mapping and emergency response
  • Wetland inventory and change detection
  • Reservoir and lake water level monitoring
  • Coastal shoreline change analysis
  • vegetation water content monitoring
  • drought detection

Limitations

  • Dark surfaces (shadows, asphalt, dark soils) can produce false positives
  • Suspended sediments and algae alter spectral response in shallow water
  • Mixed pixels at water boundaries reduce edge accuracy
  • Atmospheric correction quality directly impacts threshold selection
  • Sun glint over open water can saturate sensors and bias values
  • Requires sensors with SWIR bands — not available on all platforms

What the values mean

-1 Definitely not water
-0.3 Dry / built-up surface
0 Possible moisture / wet soil
0.3 Open water
0.6 Deep / clear water
Surface typeTypical LSWI
Built-up, asphalt-0.5 to -0.2
Bare soil, vegetation-0.2 to 0
Wet soil, flooded fields0 to 0.3
Open water, lakes0.3 to 0.7

General Formula

NIR 841-876
SWIR 1628-1652

Sensor-Specific Formulas

Most-used sensors — click to show code below

SensorProviderFormulaBand Mapping
USGS/NASA(B5 - B6) / (B5 + B6)NIR→B5, SWIR→B6
MAXAR(NIR1 - SWIR3) / (NIR1 + SWIR3)NIR→NIR1, SWIR→SWIR3

Spectral Band Visualization — Landsat 8/9

Code Examples

Adapted for Landsat 8/9 bands —

lswi_landsat-8-9.py

Frequently Asked Questions

What is the LSWI (Land Surface Water Index) and when should I use it?

The Land Surface Water Index (LSWI) was developed by Xiao et al. to monitor vegetation and soil water content. LSWI is sensitive to liquid water in vegetation due to strong SWIR absorption by water. It is widely used for drought monitoring, water stress detection, and integration into vegetation productivity models. Water indices exploit the strong absorption of shortwave infrared and near-infrared radiation by liquid water. They are critical for delineating water bodies, assessing moisture stress in vegetation, and monitoring hydrological changes over time. LSWI is particularly suited for vegetation water content monitoring, drought detection, water stress assessment. The general formula is (NIR - SWIR) / (NIR + SWIR), which requires NIR and SWIR spectral bands.

Which satellite sensors can I use to calculate LSWI?

LSWI is supported by 3 satellite sensors in our database, including Landsat 8/9, SuperView-2, WorldView 3. Each sensor uses different band designations — for example, Landsat 8/9 uses the formula (B5 - B6) / (B5 + B6), while SuperView-2 uses (NIR1 - SWIR) / (NIR1 + SWIR). Select a sensor above to see its specific band mapping.

What spectral bands does LSWI require and why?

LSWI requires NIR (841-876), SWIR (1628-1652). Water absorbs strongly in the near-infrared and shortwave infrared portions of the spectrum, creating a measurable contrast with shorter wavelengths that penetrate the water surface.

How do I calculate LSWI in Python or R?

Both Python and R code samples are provided above. In Python, use rasterio to load individual band GeoTIFF files and numpy for the arithmetic. In R, the terra package handles raster operations efficiently. The key is to load bands as floating-point arrays to avoid integer division, and to handle division-by-zero cases where the denominator equals zero. For production use, consider applying a valid data mask to exclude no-data pixels before calculation.

Can LSWI distinguish water from other dark surfaces?

LSWI is designed to enhance water features, but dark surfaces like shadows, asphalt, and dark soils can produce similar values. For reliable water mapping, consider combining LSWI with a threshold analysis and, where possible, a secondary index to reduce false positives. Time-series analysis can also help distinguish permanent water bodies from temporary dark surfaces.

LSWI vs other water indices

IndexNameHow it differs
LWVI-1Leaf Water Vegetation Index 1Alternative water index — different band combination
LWVI-2Leaf Water Vegetation Index 2Alternative water index — different band combination
MNDWIModified Normalized Difference Water IndexRefined formulation for specific conditions
NDMINormalized Difference Moisture IndexAlternative water index — different band combination

Related Water Indices

References

Xiao, X.M., Boles, S., Liu, J.Y., Zhuang, D.F., and Liu, M.L. (2002) - Characterization of forest types in Northeastern China, using multi-temporal SPOT-4 VEGETATION sensor data
Xiao, X.M., Hollinger, D., Aber, J., Goltz, M., Davidson, E.A., Zhang, Q.Y., and Moore, B. (2004) - Satellite-based modeling of gross primary production in an evergreen needleleaf forest

Need help choosing?

Ask our AI assistant for sensor recommendations, code examples, or how LSWI compares to other indices for your specific use case.

Ask AI →