-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed532ef
commit 3b0e15d
Showing
34 changed files
with
2,998 additions
and
2,925 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
// Let's import some data to Earth Engine | ||
|
||
// Download the 'Urban Areas' from Natural Earth | ||
// https://www.naturalearthdata.com/downloads/10m-cultural-vectors/ | ||
// We will upload the 'GHS Urban Centers' database from JRC | ||
// https://ghsl.jrc.ec.europa.eu/ghs_stat_ucdb2015mt_r2019a.php | ||
|
||
// Unzip and upload the ne_10m_urban_areas shapefile | ||
// Download the shapefile from https://bit.ly/ghs-ucdb-shapefile | ||
// Unzip and upload |
9 changes: 7 additions & 2 deletions
9
code/end_to_end_gee/01-Earth-Engine-Basics/06b_Import_(complete)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
// Let's import some data to Earth Engine | ||
// Upload the ne_10m_urban_areas.shp shapefile | ||
|
||
// Upload the 'GHS Urban Centers' database from JRC | ||
// https://ghsl.jrc.ec.europa.eu/ghs_stat_ucdb2015mt_r2019a.php | ||
|
||
// Download the shapefile from https://bit.ly/ghs-ucdb-shapefile | ||
// Unzip and upload | ||
|
||
// Import the collection | ||
var urban = ee.FeatureCollection('users/ujavalgandhi/e2e/ne_10m_urban_areas'); | ||
var urban = ee.FeatureCollection('users/ujavalgandhi/e2e/ghs_urban_centers'); | ||
|
||
// Visualize the collection | ||
Map.addLayer(urban, {color: 'blue'}, 'Urban Areas'); |
13 changes: 9 additions & 4 deletions
13
code/end_to_end_gee/01-Earth-Engine-Basics/06c_Import_(exercise)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
// Apply a filter to select only large urban areas | ||
// Use the property 'area_sqkm' and select all features | ||
// with area > 400 sq.km | ||
// Apply a filter to select only large urban centers | ||
// in your country and display it on the map. | ||
|
||
var urban = ee.FeatureCollection('users/ujavalgandhi/e2e/ne_10m_urban_areas'); | ||
// Select all urban centers in your country with | ||
// a population greater than 1000000 | ||
|
||
// Use the property 'CTR_MN_NM' containing country names | ||
// Use the property 'P15' containing 2015 Population | ||
var urban = ee.FeatureCollection('users/ujavalgandhi/e2e/ghs_urban_centers'); | ||
print(urban.first()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
code/end_to_end_gee/01-Earth-Engine-Basics/07c_Clipping_(exercise)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
...nd_to_end_gee/03-Supervised-Classification/01c_Basic_Supervised_Classification_(exercise)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
// Let's import some data to Earth Engine | ||
|
||
// Download the 'Urban Areas' from Natural Earth | ||
// https://www.naturalearthdata.com/downloads/10m-cultural-vectors/ | ||
// We will upload the 'GHS Urban Centers' database from JRC | ||
// https://ghsl.jrc.ec.europa.eu/ghs_stat_ucdb2015mt_r2019a.php | ||
|
||
// Unzip and upload the ne_10m_urban_areas shapefile | ||
// Download the shapefile from https://bit.ly/ghs-ucdb-shapefile | ||
// Unzip and upload |
9 changes: 7 additions & 2 deletions
9
docs/code/end_to_end_gee/01-Earth-Engine-Basics/06b_Import_(complete)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
// Let's import some data to Earth Engine | ||
// Upload the ne_10m_urban_areas.shp shapefile | ||
|
||
// Upload the 'GHS Urban Centers' database from JRC | ||
// https://ghsl.jrc.ec.europa.eu/ghs_stat_ucdb2015mt_r2019a.php | ||
|
||
// Download the shapefile from https://bit.ly/ghs-ucdb-shapefile | ||
// Unzip and upload | ||
|
||
// Import the collection | ||
var urban = ee.FeatureCollection('users/ujavalgandhi/e2e/ne_10m_urban_areas'); | ||
var urban = ee.FeatureCollection('users/ujavalgandhi/e2e/ghs_urban_centers'); | ||
|
||
// Visualize the collection | ||
Map.addLayer(urban, {color: 'blue'}, 'Urban Areas'); |
13 changes: 9 additions & 4 deletions
13
docs/code/end_to_end_gee/01-Earth-Engine-Basics/06c_Import_(exercise)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
// Apply a filter to select only large urban areas | ||
// Use the property 'area_sqkm' and select all features | ||
// with area > 400 sq.km | ||
// Apply a filter to select only large urban centers | ||
// in your country and display it on the map. | ||
|
||
var urban = ee.FeatureCollection('users/ujavalgandhi/e2e/ne_10m_urban_areas'); | ||
// Select all urban centers in your country with | ||
// a population greater than 1000000 | ||
|
||
// Use the property 'CTR_MN_NM' containing country names | ||
// Use the property 'P15' containing 2015 Population | ||
var urban = ee.FeatureCollection('users/ujavalgandhi/e2e/ghs_urban_centers'); | ||
print(urban.first()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
docs/code/end_to_end_gee/01-Earth-Engine-Basics/07c_Clipping_(exercise)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
...nd_to_end_gee/03-Supervised-Classification/01c_Basic_Supervised_Classification_(exercise)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.