What is the elevation of the pixel located in the upper left corner of the raster image in meters (rounded to the nearest integer)?
(Ensure that zoom in enough so that you are certain that you have selected the correct pixel)
1 point
Assistant
To determine the elevation of the pixel located in the upper left corner of a raster image, you would typically use a Geographic Information System (GIS) software or a similar tool that allows you to analyze the raster data. Here's a general process you might follow:
Open the Raster Image: Load the raster image into the GIS software.
Zoom In to the Upper Left Corner: Use the zoom tool to focus on the upper left corner of the raster image.
Select the Pixel: Click on the pixel located at the upper left corner.
Consult the Attribute Information: Look for the tools or information panels in your GIS software that display the attributes of the selected pixel, including its elevation.
The exact process and the user interface details can vary depending on the software being used (e.g., QGIS, ArcGIS, etc.).
Since this process requires specific software and interaction with the image file, I cannot determine the elevation directly. You would need to follow the steps above using the appropriate tools to find the elevation value. If you provide more details about the raster image or the software you are using, I could offer more specific guidance.
User
Load the vector layer "cities_ethiopia" (the WGS 84 projection is used; it is saved in the .prj file).
Load the DEM raster layer "srtm_ethiopia" (the WGS 84 projection should also already be saved).
Visualize the vector layer by moving it on top of the raster layer.
Open the attribute table of the cities layer and note which attributes are present. Select a row and
notice which point it corresponds to on the map.
Use the "Point sampling tool" plugin in to create a new layer of points that contains the attributes
listed in the cities layer as well as the elevation for each city. Import the new layer into QGIS and
check that a new column has been created for elevation.
Assistant
Modify the layer style so that the colour of the new layer is represented by the elevation (select a
color palette and classification scheme that seems appropriate to you). Also change the point size
so that the area of each circle is relative to population/50000.
Question: Through visual assessment, can we conclude that the most populated cities are located in the
plains?
Add a label so that city names are shown next to each point.
Question: Which of the following cities has the largest population?
• Bahir Dar
• Addis Ababa
• Dire Dawa
• Mekele
We will now focus on the raster file. Select the "Identify Features" tool and click on a number
of different points in order to see their elevation. Note that the lowest elevation value is -9999:
this indicates missing data (the elevation at sea level is not stored in the raster).
Question: What is the altitude of the pixel located in the upper left corner of the raster (Zoom in enough
so that you are certain that you have selected the correct pixel).
Change the colour of the DEM so that the changes in relief are more visible. When classifying the
pixels, change the minimum from -9999 to 0 (the lowest possible elevation is 0, -9999 means that
data is missing).
Create the same elevation map but change the units to feet (1m = 3.28 ft). In order to transform
the elevation measurements, use the "Raster calculator" located under the Raster menu.
Step-by-Step Guide to Answer the Questions Using QGIS
Step 1: Load the Vector and Raster Layers
Open QGIS.
Load the "cities_ethiopia" vector layer:
Go to Layer > Add Layer > Add Vector Layer....
Navigate to the location of the "cities_ethiopia" files and select the appropriate file.
Load the "srtm_ethiopia" DEM raster layer:
Go to Layer > Add Layer > Add Raster Layer....
Navigate to the location of the DEM file and select it.
Visualize the Vector Layer on Top of the Raster Layer:
In the Layers panel, click and drag "cities_ethiopia" to the top.
Step 2: Explore the Attribute Table
Open the attribute table for the "cities_ethiopia" layer:
Right-click on the "cities_ethiopia" layer in the Layers panel.
Select Open Attribute Table.
Note the available attributes and select a row to see its corresponding point on the map.
Step 3: Use the Point Sampling Tool
Install the Point Sampling Tool plugin if not already installed:
Go to Plugins > Manage and Install Plugins....
Search for "Point Sampling Tool" and install it.
Create a new layer of points:
Go to Plugins > Analyses > Point Sampling Tool.
Select the "cities_ethiopia" as the layer containing sampling points.
Add "srtm_ethiopia" as the layer from which to sample the raster value.
Ensure attributes from "cities_ethiopia" are also selected.
Output to a new shape file.
Import the new sampled layer and verify:
Verify that the new layer is added.
Open its attribute table to ensure it has a new column for elevation.
Step 4: Modify Layer Style
Change Colour by Elevation:
Right-click on the sampled layer and select Properties.
Go to the Symbology tab.
Choose Graduated from the drop-down menu.
Set Value to the elevation field.
Select an appropriate colour palette.
Adjust Point Size by Population:
Set Size to a field and use an expression like population/50000.
Apply the settings.
Visual Assessment:
Evaluate visually whether the most populated cities are in the plains based on the new map.
Step 5: Add Labels
Enable Labels:
Right-click the point layer and select Properties.
Go to the Labels section.
Enable labeling using the city name field.
Question: Largest Population City?
Check the attribute table or visualize on the map:
Bahir Dar
Addis Ababa
Dire Dawa
Mekele
Step 6: Identify Features
Use the Identify Features Tool:
Go to the Identify Features tool.
Click on different points in the raster to see their elevation values.
Zoom to the Upper Left Corner and identify the elevation value.
Question: Altitude of Upper Left Corner Pixel
Zoom in sufficiently and click exactly on the upper left corner. Record the elevation.
Step 7: Change Colour of DEM
Adjust DEM Symbology:
Right-click the "srtm_ethiopia" layer and select Properties.
Go to the Symbology tab.
Use Singleband pseudocolor.
Set Min value to 0 and fix the palette accordingly to exclude -9999.
Step 8: Elevation Map in Feet
Use the Raster Calculator:
Go to Raster > Raster Calculator.
Create a new calculation to convert from meters to feet using an expression like "srtm_ethiopia@1" * 3.28.
Save the output as a new layer.
Style the New Elevation Layer:
Apply appropriate styling similar to the previous steps for visibility.
Summary:
This detailed process will guide you through the necessary steps to answer all the questions while working with the given GIS data in QGIS. Remember to interpret visualizations carefully for spatial insights about elevation and population distribution.