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/
This process is used to reduce subjectivity in sample collection, which will later be applied for stand structure classification using the Random Forest algorithm.
- 📂 Upload the boundary/ROI asset (e.g.,
ROI_BOJONEGORO.zip) to Google Earth Engine. - 🛠️ Import the boundary/ROI asset into your script and set the variable name as
ROI. - 📅 Set the date range for the satellite dataset to be used.
- ✏️ Update the
descriptionfield in line 90 to reflect the asset name you are using.- (Optional): Change the target folder name in Google Drive if needed.
- 💾 Export the generated file from the Tasks tab in GEE.
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.
- 🛠️ Define your selected regency.
- 📅 Set the date range for the satellite dataset to be used.
- ✏️ Update the
descriptionandfileNamefield to reflect the asset name you are using.- (Optional): Change the target folder name in Google Drive if needed.
- 💾 Export the generated file from the Tasks tab in GEE.
Stand Structure Classification with Random Forest algorithm is a method for mapping forest stand characteristics.
- 📂 Upload the sample asset (e.g.,
SAMPLE_BOJONEGORO.zip). - 📂 Upload the boundary/ROI asset (e.g.,
ROI_BOJONEGORO.zip). - 🛠️ Import the sample asset into your script and set the variable name as
sample. - 🛠️ Import the boundary/ROI asset into your script and set the variable name as
ROI. - 📅 Set the date range for the satellite dataset to be used.
- ✅ Validate accuracy and Kappa coefficient values in the Console.
- ✏️ Update the
descriptionfield in line 126 to reflect the asset name you are using.- (Optional): Change the target folder name in Google Drive if needed.
- 💾 Export the generated file from the Tasks tab in GEE.
This process extracts the mean RGB and vegetation index values for each LMU (Land Management Unit) or reference plot.
- 📂 Upload your LMU or Reference Plot asset (e.g.,
LMU_BOJONEGORO.ziporPU_INV_BOJONEGORO_BUFF.zip) to Google Earth Engine. - 📅 Set the date range for the satellite dataset (use the same date range as in the classification).
- 🛠️ Import the asset into your script and set the variable name as
LMU. ▶️ Run the script in the GEE Code Editor.- ✅ Validate the total number of features in the Console and ensure it matches your uploaded asset.
- ✏️ Update the
descriptionfield in line 77 to reflect the asset name you are using.- (Optional): Change the target folder name in Google Drive if needed.
- 💾 Export all generated files, one by one, from the Tasks tab in GEE.
📝 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.