Attribute Data Operations

HES 505 Fall 2025: Session 9

Matt Williamson

Reminders

  • Assignment 1 - Due Sept 26
  • Final Project Contract - Due Oct 01
  • Assignment 2 - Due Oct 02
  • Assignment 1 Revision - Due Oct 06

Today’s Plan

Objectives

By the end of today, you should be able to:

  • Define Spatial Analysis and distinguish it from making maps.

  • Recognize the role of database structure and spatial geometry in generating attributes

  • Develop appreciation for the link between attribute operations and analysis validity.

  • Perform attribute operations on vector and raster data.

What is spatial analysis?

What is spatial analysis?

“The process of examining the locations, attributes, and relationships of features in spatial data through overlay and other analytical techniques in order to address a question or gain useful knowledge. Spatial analysis extracts or creates new information from spatial data”.
— ESRI Dictionary

What is spatial analysis?

  • The process of turning maps into information

  • Any- or everything we do with GIS

  • The use of computational and statistical algorithms to understand the relations between things that co-occur in space.

John Snow’s cholera outbreak map

Common goals for spatial analysis

courtesy of NatureServe
  • Describe and visualize locations or events

  • Quantify patterns

  • Characterize ‘suitability’

  • Determine (statistical) relations

How did the data arise?

Spatial data as a stochastic process

\[ {Z(\mathbf{s}): \mathbf{s} \in D \subset \mathbb{R}^d} \]

Areal Data

\[ {Z(\mathbf{s}): \mathbf{s} \in D \subset \mathbb{R}^d} \]

  • \(D\) is fixed domain of countable units

  • Typically involve some aggregation

Geostatistical data

\[ {Z(\mathbf{s}): \mathbf{s} \in D \subset \mathbb{R}^d} \]

Mitzi Morris
  • \(D\) is a fixed subset of \(\mathbb{R}^d\)

  • \(Z(\mathbf{s})\) could be observed at any location within \(D\).

  • Models predict unobserved locations

Point patterns

\[ {Z(\mathbf{s}): \mathbf{s} \in D \subset \mathbb{R}^d} \]

  • \(D\) is random; where \(\mathbf{s}\) depicts the location of events

Spatial analysis typically interested in the factors that contribute to \(Z(\mathbf{s})\) or \(D\)

Common pitfalls of spatial analysis

  • Locational Fallacy: Error due to the spatial characterization chosen for elements of study

  • Atomic Fallacy: Applying conclusions from individuals to entire spatial units

  • Ecological Fallacy: Applying conclusions from aggregated information to individuals

Spatial analysis is an inherently complex endeavor and one that is advancing rapidly. So-called “best practices” for addressing many of these issues are still being developed and debated. This doesn’t mean you shouldn’t do spatial analysis, but you should keep these things in mind as you design, implement, and interpret your analyses

Avoiding pitfalls of spatial analysis

  • Are the data aligned spatially and geometries accurate?

  • How does the data relate to the process you are modelling?

  • How does the process you are modeling align with the process that produced your data?