Summary
In this chapter, we learned how to load, manipulate, and analyze raster data. The things we have learned here will work as the cornerstone for doing complicated raster analysis tasks, such as applying machine learning algorithms, as we'll be discussing in later chapters. We learned how to read and load raster data using the raster() function from the raster package in R. For multispectral images, such as Landsat images, we have learned how to use stack() and how to use plotRGB() for false color composite, which gives us colored images. Using the terrain() function with different arguments, such as slope and aspect, we can derive the slope and aspect from DEM data. We can use the hillShade() function to generate hillshade in R. Furthermore, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access