1. Examining Satellite Images

In this section, you will be working with Sentinel-2 satellite imagery, where most images you see contain Blue, Green and Red (more commonly known as RGB) the Sentinel-2 images contain 13 bands. The full list of bands is available from the European Space Agency: https://sentinel.esa.int/web/sentinel/user-guides/sentinel-2-msi/resolutions/radiometric

There is also this handy reference table which provides names to the bands from Hatari Labs: https://www.hatarilabs.com/ih-en/how-many-spectral-bands-have-the-sentinel-2-images

Sentinel-2 BandsCentral Wavelength (µm)Resolution (m)
Band 1 – Coastal aerosol0.44360
Band 2 – Blue0.49010
Band 3 – Green0.56010
Band 4 – Red0.66510
Band 5 – Vegetation Red Edge0.70520
Band 6 – Vegetation Red Edge0.74020
Band 7 – Vegetation Red Edge0.78320
Band 8 – NIR0.84210
Band 8A – Vegetation Red Edge0.86520
Band 9 – Water vapour0.94560
Band 10 – SWIR – Cirrus1.37560
Band 11 – SWIR1.61020
Band 12 – SWIR2.19020

As humans we only see 3 colours, Blue, Green, and Red, however, we can use the computer to move other bands into one of these spectrums we can see, we will take a look at a satellite image. If you want to acquire your own satellite images they can be downloaded free of charge from Open Access Hub: https://scihub.copernicus.eu/dhus/#/home

When you download the imagery it actually comes as a collection of files, in windows file explorer take a look at this directory

L:\GEOG205\lab07\MtRobson\S2B_MSIL2A_20201002T191229_N0214_R056_T11ULU_20201002T215256.SAFE

If you look arround instide of the GRANULE subfolder, you will find the images sorted into folders for each resolution, and a JPEG 2000 (.jp2) file for each band. However we do not want to add bands one file at a time, we will make use of meta files, files that store information about the other files.

If you are really neardy and what to know what a meta file looks like you can open MTD_MSIL2A.xml in notepad.

For the metafiles to work correctly we must add the file through the catalouge pane (dragging and droping from windows file explorer will not produce the desired results!).

Start a new project and add a new folder connection for L:\GEOG205\lab07

As you expand the directory tree in ArcGIS Pro you will notice a layer of files below the XML files, these represent the processes for opening the imagery.

These all represent different views of the data useful for a variety of Remote Sensing tasks (Take GEOG 357 if you want to learn more).

For now we are only interested in the BOA Reflectance, there is 4 variations of this the first one contains all 13 bands, and the following options contain only the bands of the specified resolution.

Add the BOA Reflectance that contains all 13 bands to your project. (This is a relatively large set of files (just under 1GB, so give it a few seconds to load). If all goes acording to plan you should see the below.

Next, we will look at some ways of altering the appearance of this image. With the image selected open the appearance tab. We are interested in the Rendering Section (*If your image opened very dark set the gamma to 2.2 in the enhancement).

  • Stretch Type:
    In a typical image you see on the computer screen the image is a grid of pixels, each having a number representing each colour, and these numbers are generally 8bit some high end monitors support 10bit), or range from 0-255, representing the brightness of that color. The data from sentinal is a little different in that it is 12bit (2^12) data ranging from 0-4095, the strech affects how we map these values down to the 0-255 range that our monitor can display.
    * All the data for this lab has already been prepared for streaching, a process that took roughly 45 minutes to complete (a press start and work on something else sort of process), if you were to download a fresh set of imagery, and it appears very dark (or totally black), you would need to right click the layer and “Calculate Statistics”

Setting the stretch to none performs a linear mapping such that 4095 -> 255, 2048 -> 128, and 0 -> 0. But what if the data in our image doesn’t actually extend across the 0-4095 range?

This is where streaching comes in, it allows us to make the most of the displays range, for example given.

  • DRA:
    Dynamic Range Adjustment, when this option is enabled the stretch is performed over only the pixels on the screen, this allows contrast to increase as you zoom in on the image.
  • Resampling Type:
    When zoomed out on the map, there will be multiple pixels mapped to each pixel on the screen the resampling type affects how they are mapped. The simplest form is the nearest neighbour in this strategy the pixel on the images that are closest to the center of the pixel on the display is shown. The other strategies will provide averages of the pixels in the neighbourhood, producing smoother and potentially more accurate results.
  • Band Combination:
    Band Combination provides quick access to commonly used arrangements bands, listed by use. Because of the metafiles, ArcGIS Pro understands what each band represents (this will change with various satellite platforms), and this provides a quick way of getting a relatively consistent display. Try looking at a few and see how the different features pop.
  • Brightness / Contrast / Gamma:
    These provide some basic controls in how the image is displayed on the monitor. Note here that brightness and contrast have neutral values of 0. Where the gamma default is at 2.2 (There is no need to understand why, but if you are curious there is more information on gamma available here: https://en.wikipedia.org/wiki/Gamma_correction).

Pick a stretch and a Band Combination (other than natural colour) that you think looks good, and post a screenshot in the chat.

Exporting data for use in other software

Zoom into Mt Robson in the North East of the map (see below image for a reference of the area that should be visible.)

Now we are going to export as Raster (Right click on the layer in drawing order, go to Data and Export Raster)

Export Raster

  1. Set the output Raster Dataset to a location inside your lab 7 folders. And name the file with a .tif file extension.
  2. Set the desired coordinate reference system.
  3. In the Clipping Geometry drop down select “Current Display Extent”
  4. Use Renderer: This option will preserve the stretch and band combination we have chosen.
  5. Force RGB, makes sure only 3 bands are exported.

When the exported image appears on the map you will notice the colouring will be off, this is because it is still trying to display as a Sentinal Image as opposed to a standard Image.

To correct this under band combination, choose custom and set the following bands:

Then set the gamma to 1.0 as the gamma was already corrected to 2.2 prior to exporting. Though windows photo viewer should display the image just fine s it is.

2. Working with Google Earth

Google Earth overlays satellite imagery, aerial photography and GIS information over a 3D model of the Earth. It allows users to search for addresses, enter coordinates, or simply use the mouse to browse to a location.  Google Earth enables the user to view satellite images, layers of data provided by Google and by the Internet community at large. Google Earth also has 3D terrain data collected by NASA’s space shuttle and available in the public domain. In addition, Google has provided a layer allowing one to see 3D buildings for some major cities.

The Google Earth application can be downloaded from https://www.google.com/earth/versions/#earth-pro.

Add Imagery to Google Earth

Drag the image L:\GEOG205\lab07\MtRobson\robson_1.tif from Windows File Explorer to Google Earth, you will see a message saying flying to location.

You will then be prompted with a message saying the image is larger than the maximum supported size, choose to Create Super Overlay, and in the file browser that opens create a new folder called robson_overlay inside of your lab07 folder and select that as the location for the overlay. (If the super overlay takes too long, you can cancel and attempt again with Scale, this will not be as sharp but will process faster).

Once it has had some time to make the super overlay you should see it appear inside of Google Earth.

You should notice that 3D navigaion is substancially faster than it was in ArcGIS Pro, however you may also notice some artifacting in the images. So some pros and some cons.

Annotations with Google Earth

Google Earth is most commonly used for quickly marking up imagery. Above the map you will see tools for creating Placemarks (points), Polygons, and Paths.

Start by clicking on the yellow push pin, and then click somewhere on the map, you will see the pin placed, and a dialouge opens.

  1. The name field is used to label the point you just placed
  2. You are able to change the symbol on the map from a gallery of symbols
  3. Description is used to add aditional information about the placemark that can be seen by clicking on the point.
  4. Sytle and Color provies some additional options related to the symbol and label.

One more tip: If the placemark is not quite were you want it you can click and drag it over the map.

A note on polygon features, due to the way the layers are rendered, the polygons will not show through the drapped imagery. For this reason if you are using draped imagery (as opposed to what is built in) polygons should be avoided.

Historical Imagery

Another very helpful feature in google earth is the ability to view historical scenes, this provides an easy way to look at changes over time on the landscape, this can be done with the clock button.

Take a look at your favorite vaction spot, and see how the landscape has changed over the years.

Adding other layers to the map:

In the lower left corner you will see a layers panel, you can use this to add labels and placemarkers for a variaty of different data sources.

Exporting Your Layers

You can export individual features by right clicking and choosing Save Place As…

You will be given options for KML or KMZ (KMZ is a compressed KML)

You can also select a folder and Save the Entire Folder as a KML allowing for multiple features or layers to be exported to a single file.

Exporting your image map

Exporting maps from Google Earth is very simple compared to ArcGIS Pro, but also comes at the cost of customization.

  1. Clicking on the print icon will open the rest of your print options.
  2. Parge Setup is where you pick your page size, I have found this to always be a good place to start, before trying to get the perfect view.
  3. Add a title, as well as a description including your name and date the map was produced.
  4. You can turn off any features from the Legend should you not want them.
  5. Either send it to your printer or save it as a PDF.

Assignment 7:

This week’s assignment is split into two parts. Both parts should be submited as a PDF file using landscape oriented letter sized paper.

Part 1:

In the assignment folder, there is a Sentinal-2 Image from West of Edmonton Alberta. For this assignment, you will need to make a simple map using only this image as a single layer. However, the Legend will be less straightforward than normal, as ArcGIS will not create a legend for you. And you will need to utilize the Graphics and Text features to manually create a legend that will provide meaning to the readers of your map.

Zoom in on a portion of the map where the fields can be clearly seen (roughly 1:100,000), you can pick any area that looks interesting. And set the stretch and band combination to show the Agriculture well.

Using the agricultural band conbination, water will appear as black, vegitation green, and bare earth has brown (possibly with a magenta tint). Use the Graphics and Text controls to make a legened to show this. One possible solution is to make three rectangles filling each with a colour similar to what appears on the map, and putting a text label beside.

Make the Layout for Landscape Letter size paper; including, your map frame, a handmade legend, Title, Name, Date, Scale Bar, and Locator Map (You may wish to use the province boundary layer in the UNBC ArcGIS Portal).

Export your map as a PDF.

Part 2:

Create an image map in Google Earth that shows the retreat of the the Swift Current Glacier.

Inside of the assignment folder you will find robson-glacier-extents you will need to convert these shapefiles to KML/KMZ before opening in Google Earth. (You will find Feature to KML in the Analysis Toolbox https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/layer-to-kml.htm)
*Note that in Google Earth the Drawing order is not determined by the legend rather the order in which the files are added to Google Earth, with the most recient file on top.

Your image map should include the Normal: Title, Description, Name, Date, and Legend.

Categories: GEOG 205Labs