Packages enabling spatial analysis and modeling
The prior section focused primarily on packages that enable you to work with and perform operations on spatial data. In this next section, we’ll introduce you to packages that allow you to conduct spatial data analysis and modeling.
PySAL
PySAL, or the Python Spatial Analysis Library, is a collection of open source packages that support geospatial data science. PySAL’s collection of libraries can be broken down into four main categories:
Lib
: This is the main library of PySAL, which contains the core backbone architecture for creating spatial indices, working with spatial relationships, and creating what is known as a spatial weights matrixExplore
: Contains libraries that enable you to conduct an exploratory analysis of both spatial and spatiotemporal dataModel
: Contains libraries that provide estimations based on spatial relationships present in the data through the use of linear, generalized linear...