Introduction To Google Earth Engine
Introduction To Google Earth Engine
to Google
Earth Engine
Zhiqiang Yang
USFS, Rocky Mountain
Research Station
A computation Platform
Tools for analyzing and visualizing
geospatial data at scale
A Data Catalog
50PB archive of satellite imagery and
other geospatial datasets
What makes src: wikipedia
GEE powerful
Co-located
• Big Data
• Massive Computation
• Scientific Algorithms Gorelick et al. https://doi.org/10.1016/j.rse.2017.06.031
Image Credit: Noel Gorelick
Data Catalog
Massive Data Catalog
• 35 petabytes total
• ~1 petabyte/month
• >700 datasets
• ~100 datasets / year
Climate Data
A few Examples
Bring your own data
• Shapefiles
• CSV Earth
earthengine upload Engine
• TFRecord
Assets
• GeoTiff
https://developers.google.com/earth-engine/guides/image_upload
https://developers.google.com/earth-engine/guides/importing
Google
Cloud Optimized GeoTIFF Cloud
Storage
Example Applications
Image Credit: Noel Gorelick
Maupin
LCMS DATA Explorer Map Satellite
Q Search Places +
197
PARAMETERS LCMS Change, Okanogan-Wenatchee NF: 1985
FOSS
Simnasho Slow LosS
LCMS DATА Fast Loss
26 Gain
Antelope Clarno
OGain Year
14
Fast Loss Year VARM SPRINGS 97
RESERVATION Spray
O Slow Loss Year 12
% of Outlined Area
O Land Use 97 Richmond
26
O LCMS Change Time Lapse 8
26
+
TOOLS 2
Antone
Santiam
Crooked
River Ranch
+
0L
☑ DOWNLOAD DATA 2000
ck Butte 1985 1990 1995 2005 2010 2015 2020
Rancht Year Ochoco
Terrebonne
SUPPORT + National Foręst
26
Si Prineville
Redmond
97
Tumalo
Sout ster
lamgje
ette
al Fores
Alfalfa
Bend 20
Mt Bachelor
1 LEGEND
20
Fast Loss Year
Brothers
1985 2020
API
Reducer: mean, linearRegression, percentile, histogram ….
Join: simple, inner, outer, inverted ...
Kernel: square, circle, gaussian, sobel, kirsch …
For example:
• Compute NDVI for all images in 2018
• Derive area of each feature in a FeatureCollection
• Create monthly max and min temperature
• https://developers.google.com/earth-engine/guides/ic_mapping
• https://developers.google.com/earth-engine/guides/feature_collection_mapping
Processing
Concept: Reduce
Aggregate over a collection or
over a spatial context to derive
summary values.
https://developers.google.com/earth-engine/guides/reducers_intro
Reducers 48 reducers
• ee.Array.reduce
• ee.List.reduce
• ee.FeatureCollection
• reduceColumns
• reduceToImage
• ee.Image
• reduce
• reduceConnectedComponents
• reduceNeighborhood
• reduceRegion
• reduceRegions
• reduceToVector
• ee.ImageCollection
• reduce
Interactive
Processing
Processing
Mode Batch Processing
Code Editor
Accessing https://code.earthengine.google.com
Google Earth
Google Colab https://colab.research.google.com/n
https://developers.google.com/
REST API earth-engine/reference
Customized Applications
Quick Tour of Code Editor
Spatial Data in GEE
• Vector Data
• ee.Geometry or ee.Feature
• ee.FeatureCollection (multiple features)
• Raster Data
• ee.Image, represents a single image,
usually with multiple band bands
• ee.ImageCollection, a set of images
usually with the same data structure
QGIS with Plugin
APP
Earth Engine App
• Coder interface from Code Editor
• Publish directly from Code Editor
• Share work as web application
https://usfs-larse.earthengine.app/view/mso-app
https://nina.earthengine.app/view/lockdown-pollution
Sign-up
https://signup.earthengine.google.com
Super useful demonstration code repos
Nick Clinton has put together these very useful learning script
• https://gee-community.github.io/qgis-earthengine-plugin