-
Notifications
You must be signed in to change notification settings - Fork 19
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
2563c45
commit 88c3c71
Showing
17 changed files
with
1,036 additions
and
952 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
16 changes: 10 additions & 6 deletions
16
code/end_to_end_gee/01-Earth-Engine-Basics/05c_Feature_Collections_(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,9 +1,13 @@ | ||
// Apply a filter to select only the 'Bangalore Urban' district | ||
// Display only the selected district | ||
var admin2 = ee.FeatureCollection('FAO/GAUL_SIMPLIFIED_500m/2015/level2'); | ||
Map.addLayer(admin2, {color: 'grey'}, 'All Admin2 Polygons'); | ||
|
||
// Hint: The district names are in ADM2_NAME property | ||
// Exercise | ||
// Apply filters to select your chosen Admin2 region | ||
// Display the results in 'red' color | ||
|
||
var admin2 = ee.FeatureCollection('FAO/GAUL_SIMPLIFIED_500m/2015/level2'); | ||
var karnataka = admin2.filter(ee.Filter.eq('ADM1_NAME', 'Karnataka')); | ||
// Hint1: Swith to the 'Inspector' tab and click on any | ||
// polygon to know its properties and their values | ||
|
||
var visParams = {'color': 'red'}; | ||
// Hint2: Many countries do not have unique names for | ||
// Admin2 regions. Make sure to apply a filter to select | ||
// the Admin1 region that contains your chosen Admin2 region |
11 changes: 7 additions & 4 deletions
11
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,10 +1,13 @@ | ||
var urban = ee.FeatureCollection('users/ujavalgandhi/e2e/ghs_urban_centers'); | ||
print(urban.first()); | ||
|
||
// Exercise | ||
// Apply a filter to select only large urban centers | ||
// in your country and display it on the map. | ||
|
||
// 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()) | ||
// Hint1: Use the property 'CTR_MN_NM' containing country names | ||
// Hint2: Use the property 'P15' containing 2015 Population | ||
|
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
6 changes: 4 additions & 2 deletions
6
code/end_to_end_gee/02-Earth-Engine-Intermediate/01c_Earth_Engine_Objects_(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
Oops, something went wrong.