Skip to content

PRACTICE 1

Memory under cover

goal

Your goal is to import a digital elevation model (DEM), make a Map with the five layers shown in the app below, and then use these layers to interpret the four POI.

open app in new tab


starter script

// -------------------------------------------------------------
//  Access image from this cloud address:
//  "projects/ee-patterns/assets/p01/chipmanHill_2023_35cm_DEMHF"
// -------------------------------------------------------------

var image ;


// -------------------------------------------------------------
//  Customize Map. 
// -------------------------------------------------------------

// Set map center and zoom level.


//  Set basemap style to hybrid.


// -------------------------------------------------------------
//  Display image as a map layer;
//  Stretch layer display values over image data range.
// -------------------------------------------------------------



// -------------------------------------------------------------
//  Multiply the elevation values by 2 (apply a scalar operation)
//  and then derive slope of this surface.
// -------------------------------------------------------------

var image_slope ;

// -------------------------------------------------------------
//  Display slope image as a map layer;
//  Stretch layer display values over image data range.
//  Display so that "steeper is darker".
// -------------------------------------------------------------



// -------------------------------------------------------------
//  Multiply the elevation values by 2 (apply a scalar operation)
//  and then calculate the hillshade of this surface. 
// -------------------------------------------------------------

var image_hs ;

// -------------------------------------------------------------
//  Using the original elevation surface (without a scalar applied),
//  calculate the deviation from mean elevation;
//  Use 10 as the distance argument.
//  Try to display the layer with this palette: ['blue', 'white', 'red']
// -------------------------------------------------------------

var image_dme ;


// -------------------------------------------------------------
//  PRACTICE CHECKS
// -------------------------------------------------------------

//  I. QUANTITATIVE 

print("QUANTITATIVE CHECKS:");

//  Import check module for tutorial 1.
//  Uncomment the line below.

var check = require("users/jhowarth/eePatterns:checks/p01.js");

//  Uncomment the three lines below, run script, and look at the results in Console. 

// check.checkPoint("CP1:", image_slope);
// check.checkPoint("CP2:", image_hs);
// check.checkPoint("CP3:", image_dme);

//  II. QUALITATIVE  

//  Use zoom to inspect locations marked A, B, C, D.
//  For each letter, please write down:

//    1. What do you think the linear feature marked by the letter "is"?
//    2. Why?

//  When you have completed this practice problem, please take the short quiz on Canvas where you will report your results. 

This work is licensed under CC BY-NC-SA 4.0