Skip to content

A sample workflow for classifying wetlands in Google Earth Engine. Uses data from multiple sources.

License

Notifications You must be signed in to change notification settings

DanGeospatial/GEE_Wetland_Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GEE Wetland Classification

A workflow for classifying wetlands in Google Earth Engine using Landsat 8-9, Sentinel 2 and PlanetScope. Integrates cloud-local processing fusion to enhance earth engine algorithm performance using Ray Tune and HyperOPT.

Important:

You will get bad results if your training points are of poor quality. In an ideal workflow one would have training points that represent the full range of spectral values for each class you are trying to distinguish. Training points should be:

  • generated randomly across your AOI (not clustered in specific areas)
  • sufficient number of points for each class, especially for those with similar physical properties
  • class types should be logical

Features:

  • Sentinel 2 Imagery with improved cloud masking using the sentinel2-cloud-detector library
  • Computes several indices that can be selected for classification
  • Fusion of SAR, Elevation and Multispectral Imagery
  • Uses the Random Forest algorithm for Classification
  • Incorporates Recursive Feature Elimination for band selection

Indices Computed Within Earth Engine (LS & S2):

  • Normalized Difference Vegetation Index
  • Normalized Difference Water Index
  • Normalized Difference Moisture Index
  • Green 1 Chlorophyll Index
  • Enhanced Vegetation Index
  • Standardized Vegetation Index
  • Simple Ratio Index

Indices Computed Within Earth Engine (PS):

  • Normalized Difference Vegetation Index
  • Normalized Difference Water Index
  • Modified Normalized Difference Yellowness Index
  • Green 1 Chlorophyll Index
  • Yellow Edge Index
  • Enhanced Vegetation Index
  • Standardized Vegetation Index
  • Simple Ratio Index

Indices Computed Within SAGA GIS:

  • Topographic Wetness Index
  • Topographic Position Index

Project Description:

This project had two primary goals (1) to refine optimization methods for improved classification accuracy and (2) to compare the capability of three satellite platforms to classify wetlands. In addition to these two primary goals the importance of Short-wave infrared (SWIR) and thermal images for wetland classification will also be tested. Landsat 8-9 and Sentinel 2 have SWIR bands whereas and PlanetScope does not. PlanetScope imagery is paid, but it has much higher temporal and spatial resolution than Landsat 8-9 or Sentinel 2. This project was tested in the Yukon, Canada which has experienced more frequent clouding in recent decades. Code was switched from using GEE JavaScript to Python. Personally, I think dislike the GEE JavaScript environment. Previous code using JavaScript is available but will not be worked on.

Results:

Accuracy:

PlanetScope - 0.8493
Sentinel 2 - 0.8219
Landsat 8-9 - 0.8412

Optimal Bands:

PlanetScope:

  • b2, b3, b4, b5, b6, b7, b8
  • Normalized Difference Vegetation Index
  • Normalized Difference Water Index
  • Topographic Wetness Index
  • Modified Normalized Difference Yellowness Index
  • Green 1 Chlorophyll Index
  • Yellow Edge Index
  • Enhanced Vegetation Index
  • Simple Ratio Index
  • VH
  • VV

Sentinel 2:

  • b2, b4, b5, b6, b7, b8, b8A, b11, b12
  • Normalized Difference Vegetation Index
  • Normalized Difference Moisture Index
  • Topographic Wetness Index
  • Green 1 Chlorophyll Index
  • Enhanced Vegetation Index
  • Standardized Vegetation Index
  • Simple Ratio Index
  • VH
  • VV

Landsat 8-9:

  • b3, b4, b5, b6, b7, ST10
  • Normalized Difference Vegetation Index
  • Normalized Difference Water Index
  • Topographic Wetness Index
  • Normalized Difference Moisture Index
  • Green 1 Chlorophyll Index
  • Enhanced Vegetation Index
  • Standardized Vegetation Index
  • VV

Releases

No releases published

Packages

No packages published