Summary
Using NumPy to process rasters (or vector data) can offer a unique way to create custom functions or complete custom tools. The ability to process n-dimensional arrays quickly makes NumPy a powerful tool for fast mathematical and statistical operations.
In this chapter, we reviewed many different functions NumPy has, including viewing and changing the properties of arrays and the mathematical operations that can be performed on arrays. Queries on arrays and converting rasters into arrays and back again were also covered. We explained the concatenation of arrays, and wrapped up by demonstrating how to generate charts from statistics using Matplotlib in an end-to-end exercise.
*
Up to now, you have learned how to use ArcPy, ArcGIS API for Python, Pandas, Spatially Enabled DataFrames, and NumPy to automate much of your analysis, data management, and map production. The next three chapters will be different, as they will be case studies. In each chapter, you will see...