-
Notifications
You must be signed in to change notification settings - Fork 0
/
week5.qmd
87 lines (52 loc) · 7.51 KB
/
week5.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Introduction to GEE (Google Earth Engine)
## Summary
Google Earth Engine (GEE) is a cloud-based platform for analyzing and processing geospatial data. It allows users to access and process massive amounts of remote sensing data for various purposes, including land use and land cover analysis, natural resource management, and disaster response. GEE has a powerful processing infrastructure that allows users to apply various geospatial analysis techniques, such as image classification, object detection, and time-series analysis.
User Interface (UI) of GEE @EarthEngineCode:
![](img/codeeditor.png)
### ![](img/gee-setup.png) {.unnumbered}
- *Terms/Jargon Specific to GEE*<br>
GEE has several terms and jargon that are specific to the platform. For example, ee.Image is a class in the GEE API used to represent an image, ee.ImageCollection is used to represent a collection of images, and ee.Geometry is used to represent geometries like points, lines, and polygons. Other terms include ee.Reducer, ee.Filter, and ee.FeatureCollection. A complete list of GEE-specific terms and jargon can be found in the GEE documentation.
- *Relating Spatial Data Formats We Have Seen to GEE*<br>
GEE can work with various spatial data formats, including GeoTIFF, NetCDF, and SHP. These formats can be uploaded to the GEE platform and processed using GEE's tools and algorithms. GEE also supports several remote sensing data formats, including Landsat, Sentinel-2, MODIS, and more.
- *Client vs. Server-Side*<br>
GEE processing can occur on both the client-side and server-side. The client-side involves using GEE's JavaScript API to send requests to the server, visualize data, and process small-scale data. On the other hand, the server-side involves using GEE's computing infrastructure to process large-scale geospatial data. The server-side can process data more efficiently and effectively than the client-side, making it ideal for large-scale analyses.
- *Scale (Resolution)*<br>
GEE works with geospatial data at various scales or resolutions. The platform supports data with a spatial resolution ranging from a few meters to several kilometers. The choice of scale depends on the user's analysis goals and the spatial and temporal extent of the data.
- *Projections*<br>
GEE supports various map projections, including Geographic, UTM, and Web Mercator. The platform automatically applies the correct projection to the data, ensuring that the data is displayed correctly on the map.
### ![](img/howto-gee.png) {.unnumbered}
GEE can be accessed through the Google Earth Engine Code Editor, where users can write and run JavaScript code to access and analyze geospatial data. Users can also use GEE's pre-built tools, such as the Image and Feature Editors, to **view** and **edit** geospatial data **directly!!**
- *Building blocks of data (the data in GEE)*<br>
The building blocks of data in GEE are images and image collections. Images are raster data with multiple bands, such as satellite imagery, and can be processed using GEE's built-in functions. Image collections are collections of images, and they can be filtered, sorted, and processed as a group.
- *Collections, geometries, and features*<br>
In GEE, collections are groups of objects, such as a collection of satellite images or a collection of point locations. Geometries are shapes used to define regions of interest, such as a polygon for a city boundary. Features are objects that contain geometries and properties, such as a point location with attributes like temperature and humidity.
- *Reducing images (e.g., zonal statistics)*<br>
Reducing images involves computing a statistic or value for each pixel or region in an image. For example, zonal statistics can be used to calculate the mean temperature for each polygon in a feature collection. GEE has built-in functions for reducing images, such as ee.Reducer.mean().
- *Regression (over time)*<br>
Regression can be used to analyze changes in geospatial data over time. For example, linear regression can be used to analyze changes in vegetation over time using satellite imagery. GEE has built-in functions for regression, such as ee.Reducer.linearRegression().
- *Joins*<br>
Joins involve combining data from two or more collections based on a common attribute. For example, a feature collection of cities can be joined with a table of population data based on a common attribute such as city name. GEE has built-in functions for joining data, such as ee.Join.inner().
- *Machine learning (intro)*<br>
GEE also supports machine learning algorithms, such as classification and clustering. Machine learning can be used to classify land cover types using satellite imagery or to identify patterns in geospatial data. GEE has built-in functions for machine learning, such as ee.Classifier.svm().
In summary, GEE can be used through the Code Editor or pre-built tools to access and analyze geospatial data. The building blocks of data in GEE are images and image collections, and GEE supports collections, geometries, and features. GEE also supports reducing images, regression over time, joins, and machine learning algorithms [@JavaScriptPythonGuides].
## Applications
I took a look into one of the GEE applications from this [Awesome Earth Engine Apps](https://github.com/philippgaertner/awesome-earth-engine-apps.git) github repository, and found the study case in Indonesia!
**[Genangan banjir menggunakan NDWI](https://alkindigifty.users.earthengine.app/view/genangan-banjir-menggunakan-ndwi)**<br>
Which means: **Flood inundation using NDWI**<br>
According to @GenanganBanjirMenggunakan, this GEE apps view and analyze flood inundation using the Normalized Difference Water Index (NDWI) for a specific area (East Java, Indonesia).
![](img/week5app1.PNG)
![](img/week5app2.PNG)
1. The application uses NDWI, a remote sensing index that can detect water bodies' presence and extent.
2. NDWI is calculated using near-infrared and shortwave-infrared bands of satellite imagery.
3. The user selects an area of interest on the map, and the application loads satellite imagery for that area.
4. Then calculates the NDWI for the selected area and displays it as a map layer.
5. The user can adjust the threshold value for the NDWI layer to highlight different water levels, allowing them to see areas that are potentially flooded. 6. The application also provides a time series of NDWI values, allowing the user to observe changes in water levels over time.
Clearly, this application demonstrate the potential of remote sensing for flood mapping and monitoring, which can be useful for disaster response and management (e.g. flood monitoring and early warning, water management, and environmental monitoring).
Other applications on GEE?
**Many!**
Including land cover and land use change detection, climate change analysis, deforestation monitoring, and crop yield estimation.
## Personal Reflection
I guess GEE is a game-changer in remote sensing industry. My thought about **Why it's different?**:
1. The GEE platform is unique because it provides access to a massive collection of geospatial datasets, tools, and algorithms in a single platform, eliminating the need for users to search and download data from multiple sources! (I remember how hard this was 10 years ago lol)
2. The GEE platform provides a scalable and flexible infrastructure for processing and analyzing large-scale geospatial data, enabling users to conduct complex analyses quickly and efficiently.
3. The platform is also accessible to **anyone** (with an internet connection, of course!), making it an excellent tool for democratizing geospatial analysis.