Introduction To Google Earth Engine
Introduction To Google Earth Engine
Table of Contents
Remote sensing refers to the process of collecting data about Earth's surface
without being in direct contact. Satellites equipped with sensors capture imagery
of Earth at various wavelengths. Remote sensing helps monitor environmental
changes, land cover, urban expansion, vegetation health, and more.
To use GEE, sign up at Google Earth Engine with your Google account. Once
your access is approved, you can start working with the platform.
The GEE Code Editor is an online IDE where you write and execute JavaScript
code to analyze data. It includes:
You can load data from various datasets directly in GEE. For instance, the
following code snippet will
Map.centerObject(image, 10);
GEE hosts data from a wide range of Earth observation satellites, including:
Landsat series (5, 7, 8, 9)
Sentinel series (Sentinel-1, Sentinel-2, Sentinel-5P)
MODIS
VIIRS
ASTER
HYPERION
GEE offers a variety of public datasets covering diverse fields such as climate,
topography, vegetation, water, and more. You can easily access these datasets
with a few lines of code, such as:
.filterDate('2020-01-01', '2020-12-31')
.select('NDVI');
You can upload your own shapefiles, CSVs, and raster data into Google Earth
Engine for custom analysis.
In GEE, each dataset includes metadata such as cloud cover, acquisition date, and
more. Filters allow users to narrow down datasets based on criteria such as date,
location, and properties.
var filteredData =
dataset.filterBounds(geometry).filterMetadata('CLOUD_COVER', 'less_than',
10);
4. Basic Operations and Image Processing
4.1 Basic Image Operations
Customize how images are displayed using parameters like bands, minimum and
maximum values, or color palettes.
NDVI is one of the most commonly used indices for vegetation health:
You can define and calculate your own custom indices by combining different
spectral bands.
Training data is needed for supervised classification. You can collect this data by
selecting known regions of various land cover types.
You can generate NDVI time series for a region to analyze vegetation health over
time.
You can apply machine learning algorithms such as random forest, SVM, or
neural networks for classification or prediction tasks.
Sentinel-5P data can be used to monitor air quality, pollution levels, and trace
gases.
You can export results (e.g., images, tables) to Google Drive or Google Cloud for
further analysis.
Export.image.toDrive({
image: classified,
description: 'LandCoverClassification',
scale: 30,
region: geometry
});
9.2 Exporting Maps, Charts, and Graphics
Maps and charts can be exported as images for reports and presentations.
Google Earth Engine scripts can be shared with collaborators via the GEE
repository or by sharing a URL.
10. Practical Projects and Case Studies
10.1 Forest Change Detection Project
Monitor crop health and estimate yield using NDVI time series.
Track the distribution and trends of pollutants such as NO2 or SO2 using
Sentinel-5P.