"

1. Raster Analysis using Map Algebra

Let’s outline the GIS analysis procedure for this project: identifying the best cities for the solar power market. The preferred cities are supposed to have a high population, receive sufficient solar insolation, and be located on smooth terrain. We will use a raster-based GIS database of variables (e.g., population, solar insolation, cloud-free levels, and elevation), set criteria for each variable to select locations (e.g., how much solar insolation is desirable?), and overlay all selected locations from each raster layer to finalize the potentially marketable cities to expand the solar energy market.

We will create THREE output rasters based on the following:

  • Raster 1
    • Population density is greater than 50 people/Km2.
    • Insolation is greater than 200 Watts/m2.
    • The elevation is less than 1524 meters (5000 feet).
    • The slope is less than 45 degrees.
    • Cloudless hours are greater than 60% of cloud-free hours per year.
  • Raster 2
    • Population density is greater than 50 people/Km2
    • Insolation is greater than 200 Watts/m2
    • The elevation is less than 1524 meters (5000 feet).
    • The Slope is less than 45 degrees.
    • Cloudless hours are greater than 70% of cloud-free hours per year
  • Raster 3
    • Population density is greater than 50 people/Km2
    • Insolation is greater than 200 Watts/m2
    • The elevation is less than 1524 meters (5000 feet)
    • The Slope is less than 45 degrees.
    • Cloudless hours are greater than 75% of cloud-free hours per year

1. Add cloudless, elevation, insolation, and population (from the Lab 9 data folder) to the ArcGIS Pro.

We have prepared all inputs for Raster 1, 2, and 3, but not for the slope. Let’s create a “Slope” layer from the Elevation.

2. Find a Slope tool in the Geoprocessing tab and fill in the parameters like:

Screenshot of the Slope function in the Geoprocessing tool of GIS software. The interface displays input fields: "Input raster" set to "elevation," "Output raster" set to "Slope," "Output measurement" set to "Degree," "Method" set to "Planar," and "Z factor" set to 1. The analysis device is set to "GPU then CPU." A blue information box at the top reads: “The Surface Parameters tool provides enhanced functionality or performance.
Configuring the Slope tool in ArcGIS Pro to calculate terrain steepness using elevation data, with output measured in degrees and processed via GPU and CPU.

All input raster layers are now ready to be processed. First, let’s find the location with a population greater than 50 people/Km2. Open Raster Calculator in the Geoprocessing tab.

3. Uncheck all the layers but population.

4. Double-click population, click on the “>” (i.e., greater than) button; you can also type “>” on your computer keyboard. Then type “50” in the text box after the > sign. Give the output name “pop_gt_50.” Click Run.

Screenshot of the Raster Calculator tool in GIS software. The interface displays a Parameters section with a Map Algebra expression field. On the left, a list of raster datasets includes folders labeled "population," "insolation," "elevation," and "cloudless." On the right, mathematical operators such as multiplication (), division (/), equality (==), greater than (>), and less than (<) are shown. The expression field contains: "population" > 50. Below, the Output raster field is set to "pop_gt_50."
Using the Raster Calculator in ArcGIS to identify areas where the population exceeds 50, based on selected raster datasets and a map algebra expression.

The output raster in the Contents shows all cells with a population density greater than 50 people/km2, with a value of 1 (the expression was True). A cell value of 0 indicates a cell with a population density less than 50 (the expression was False). The 0, 1 format is referred to as a “binary map” — based on the query expression, every raster cell evaluates to either True or False.

Let’s process other rasters: insolation and terrain. Again, we will create THREE output rasters based on the following:

  • Raster 1
    • Population density is greater than 50 people/Km2.
    • Insolation is greater than 200 Watts/m2.
    • The elevation is less than 1524 meters (5000 feet).
    • The slope is less than 45 degrees.
    • Cloudless hours are greater than 60% of cloud-free hours per year.
  • Raster 2
    • Population density is greater than 50 people/Km2
    • Insolation is greater than 200 Watts/m2
    • The elevation is less than 1524 meters (5000 feet).
    • The Slope is less than 45 degrees.
    • Cloudless hours are greater than 70% of cloud-free hours per year
  • Raster 3
    • Population density is greater than 50 people/Km2
    • Insolation is greater than 200 Watts/m2
    • The elevation is less than 1524 meters (5000 feet)
    • The Slope is less than 45 degrees.
    • Cloudless hours are greater than 75% of cloud-free hours per year

5. We can combine all four layers into a single Raster 1 rather than processing them individually. In other words, let’s try to use the Boolean function AND (“&”) to write and evaluate four queries that create a Raster 1. Give the output name for the raster dataset Raster_1 or some other name (e.g., Cloudless_60) that is catchy to you:

Screenshot of the Raster Calculator in GIS software. The Parameters section includes a Map Algebra expression combining multiple raster datasets: "population" > 50, "insolation" > 200, "elevation" < 1524, "Slope" < 45, and "cloudless" > 60. Raster folders listed are Slope, population, insolation, elevation, and cloudless. Operators available include addition (+), subtraction (-), multiplication (), and division (/). The output raster is named "Raster_1".
Using the Raster Calculator in GIS to generate a composite analysis of areas meeting specific thresholds for population, insolation, elevation, slope, and cloudless conditions.

Bonus: If you want to learn more about processing raster using Map Algebra, please visit the ArcGIS Resources (https://www.esri.com/en-us/arcgis/products/arcgis-pro/resources) under the topics, such as How Raster Calculator works, and Build expressions in Raster Calculator

6. To enhance visualization, find “World Countries” in the Portal in the Catalog:

Screenshot of the Catalog window in ArcGIS software with the Portal tab selected. A search for "World Countries" is shown in the search bar. Below, three search results are listed: "World Countries," "World Countries Generalized," and another "World Countries Generalized," each represented as map layer icons. Tabs at the top include Project, Portal, Computer, and Favorites, with icons for various data sources displayed beneath.
Exploring World Countries in ArcGIS Online: A search in the Portal tab of the Catalog window reveals multiple map layer datasets, including generalized versions, for geographic analysis.

7. Make the World Countries layer colorless, so the border lines are presented. Here is an example of cloudless_60pct:

World map displaying the Raster 1. Continents are shown in grey, oceans in light blue. Red dots indicate the selected areas, with notable concentrations in India, eastern China, Europe, and the eastern United States. India is prominently marked with a large red area. Antarctica is labeled but shows no population density
Global distribution of urban agglomerations, with the colored area.

Map (2 pts.) and Question (1 pt.)

1. Make professional (!) maps of your three raster outputs cloudless_60pct, cloudless_70pct, or cloudless_75pct.

  • Rename the raster datasets and labels (e.g., 0, 1) to something meaningful, g., 0 for Low and 1 for High, so the company understands your map.
  • You can change the name of the raster datasets and labels in each layer’s Properties window (General tab for name, Symbology tab for colors and brands).
  • Make the color palettes of the three rasters match for easier comparison. The True values (1s) should be a solid color, while the False values (0s) should have no color. Use the included countries layer in your map as a reference background layer.

Remember to add a map title, your name, a legend, a scale bar, a north arrow, a neat line, etc. Be sure to label the panels so the client knows which panel belongs to each model output. Use bright, obvious colors for the raster cells, and make sure countries are not prominent parts of the map (e.g., a hollow and a thin, light-gray border work well).

2. Question: Which of the three raster datasets (cloudless_60pct, cloudless_70pct, or cloudless_75pct) do you think is the most appropriate for your final analysis? Why?

 

License

Intro GIS Labs Copyright © by yurikim. All Rights Reserved.