Skip to content

About

Various GEE script for land classification and extract band value

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🌍 East Java GEE Scripts

Repository of Google Earth Engine (GEE) scripts for stand structure classification and vegetation index analysis in East Java. all the script should be run on https://code.earthengine.google.com/


📤 Unsupervised Classification

This process is used to reduce subjectivity in sample collection, which will later be applied for stand structure classification using the Random Forest algorithm.

Steps

  1. 📂 Upload the boundary/ROI asset (e.g., ROI_BOJONEGORO.zip) to Google Earth Engine.
  2. 🛠️ Import the boundary/ROI asset into your script and set the variable name as ROI.
  3. 📅 Set the date range for the satellite dataset to be used.
  4. ✏️ Update the description field in line 90 to reflect the asset name you are using.
    • (Optional): Change the target folder name in Google Drive if needed.
  5. 💾 Export the generated file from the Tasks tab in GEE.

🔎 View Script

📥 Download


📤 Download Harmonized Sentinel-2 Satellite Image

Sentinel-2 Satellite Image used to reduce subjectivity in sample collection, which will later be applied for stand structure classification using the Random Forest algorithm.

Steps

  1. 🛠️ Define your selected regency.
  2. 📅 Set the date range for the satellite dataset to be used.
  3. ✏️ Update the description and fileName field to reflect the asset name you are using.
    • (Optional): Change the target folder name in Google Drive if needed.
  4. 💾 Export the generated file from the Tasks tab in GEE.

🔎 View Script

📥 Download


📤 Stand Structure Classification with Random Forest algorithm

Stand Structure Classification with Random Forest algorithm is a method for mapping forest stand characteristics.

Steps

  1. 📂 Upload the sample asset (e.g., SAMPLE_BOJONEGORO.zip).
  2. 📂 Upload the boundary/ROI asset (e.g., ROI_BOJONEGORO.zip).
  3. 🛠️ Import the sample asset into your script and set the variable name as sample.
  4. 🛠️ Import the boundary/ROI asset into your script and set the variable name as ROI.
  5. 📅 Set the date range for the satellite dataset to be used.
  6. ✅ Validate accuracy and Kappa coefficient values in the Console.
  7. ✏️ Update the description field in line 126 to reflect the asset name you are using.
    • (Optional): Change the target folder name in Google Drive if needed.
  8. 💾 Export the generated file from the Tasks tab in GEE.

🔎 View Script

📥 Download


📤 Exporting Mean Values of LMUs and Reference Plots

This process extracts the mean RGB and vegetation index values for each LMU (Land Management Unit) or reference plot.

Steps

  1. 📂 Upload your LMU or Reference Plot asset (e.g., LMU_BOJONEGORO.zip or PU_INV_BOJONEGORO_BUFF.zip) to Google Earth Engine.
  2. 📅 Set the date range for the satellite dataset (use the same date range as in the classification).
  3. 🛠️ Import the asset into your script and set the variable name as LMU.
  4. ▶️ Run the script in the GEE Code Editor.
  5. ✅ Validate the total number of features in the Console and ensure it matches your uploaded asset.
  6. ✏️ Update the description field in line 77 to reflect the asset name you are using.
    • (Optional): Change the target folder name in Google Drive if needed.
  7. 💾 Export all generated files, one by one, from the Tasks tab in GEE.

Notes

📝 Reference plots (petak ukur referensi) that have been inventoried should also be processed to extract their mean RGB and vegetation index values.
Before uploading into GEE, apply a buffer with a radius of 12.7 meters to each plot using ArcGIS or QGIS.
Every single plot and LMU polygon must have a UNIQUE CODE before being uploaded into GEE.

🔎 View Script

📥 Download

About

Various GEE script for land classification and extract band value

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages