1 Foundations of Geographic Information Science
By the end of this chapter you should be able to:
- Explain the difference between a geographic information system and geographic information science, and give an example of a question each one answers.
- State Tobler’s First Law of Geography, and explain spatial dependence and spatial heterogeneity and why they matter for analysis.
- Describe the field and object views of the world, and choose one for a given phenomenon.
- Distinguish cartographic scale, geographic scale, resolution, and level of detail, and explain how changing any of them can change an answer.
- Explain why uncertainty is part of all geographic data, name its main sources, and describe how to report it honestly.
Imagine two analysts given the same task: estimate how much of Orange County, North Carolina, lies within 100 meters of a stream. The first downloads a stream layer, buffers it, and reports 18 percent. The second uses a different stream layer, made at a finer scale, and reports 31 percent. Neither made a mistake with the software. Both pressed the right buttons. So which answer is right?
Your introductory GIS course taught you how to press the buttons: load data, make a map, run a buffer or an overlay. This book asks the questions behind the buttons. Why does a tool work? When does it fail? And how do you know your answer is right? The answer to the stream question, as you’ll see by the end of this chapter, is that both answers are correct for the data they used, and that the difference between them is not an error but a property of geographic information itself.
This chapter lays the foundation for the rest of the book. It separates GIS as a set of tools from GIS as a science, introduces the two properties that make geographic data special, compares two ways of seeing the world, and looks closely at scale and uncertainty, which come up in every chapter that follows.
1.1 Systems and science
1.1.1 GIS as a tool
A geographic information system (GIS) is “a computer-based system to aid in the collection, maintenance, storage, analysis, output, and distribution of spatial data and information” (Bolstad 2022). It has five components: data, hardware, software, people, and procedures. That is the definition most intro courses start with, and it describes a tool, like a word processor or a spreadsheet: something you use to get a job done.
Seen as a tool, GIS is judged by whether it does the job. Can it read this file? Can it run this buffer? Does the map look right? Those are good questions, but they leave out a harder one: is the answer it gives true?
1.1.2 GIS as a science
In 1992 the geographer Michael Goodchild argued that the hard problems in GIS were not about software at all (Goodchild 1992). How should a continuous surface be broken into discrete pieces? How much error can a data set carry before an analysis means nothing? How should a computer represent a place, like “downtown,” that has no clear edge? These are scientific questions, and Goodchild gave the field that studies them a name: geographic information science, or GIScience.
GIScience is the science behind the system. It asks how geographic information is collected, represented, analyzed, and communicated, and what happens to the truth at each step. It draws on geography, computer science, statistics, cognitive science, and geodesy, and its findings show up in your software every time a projection is applied, a spatial index speeds a query, or a tool warns you that two layers are in different coordinate systems.
| Aspect | GISystems | GIScience |
|---|---|---|
| Goal | Solve a practical problem | Understand geographic information itself |
| Typical question | Which parcels are within 100 m of a stream? | How does the stream layer’s scale change the answer? |
| Judged by | Does it work, on time and on budget? | Is it true, and how sure are we? |
| Example | Mapping today’s flood extent | Modeling how error in elevation data spreads into a flood map |
Every analyst does a little of both. When you choose a projection, decide on a cell size, or wonder why your result differs from a colleague’s, you are asking a GIScience question. This course is about learning to ask those questions on purpose.
Think of a GIS project you did in an earlier course. What decision did you make without thinking about it (a projection, a data source, a cell size, a classification)? How might the result have changed if you had chosen differently?
1.2 What is special about spatial data?
A spreadsheet of student grades and a layer of county poverty rates are both tables of numbers. Why can’t we analyze them the same way? Because geographic data have two properties that ordinary data do not, and both break assumptions that classical statistics depends on (Anselin 1989).
1.2.1 Spatial dependence and Tobler’s First Law
In 1970 the geographer Waldo Tobler wrote what became the most quoted sentence in geography: “everything is related to everything else, but near things are more related than distant things” (Tobler 1970). This is Tobler’s First Law of Geography. It describes spatial dependence: values at nearby locations tend to be similar. The temperature in Chapel Hill is a good guess for the temperature in Carrboro, and a poor guess for the temperature in Asheville. Neighboring census tracts tend to have similar incomes. The soil on one side of a fence is usually much like the soil on the other.
You can see the First Law in data. Figure 1.1 takes 400 sample points from an elevation surface and compares every pair. Points close together have similar elevations; the farther apart two points are, the more their elevations differ. This pattern, where similarity falls off with distance, is called distance decay.
The statistical name for spatial dependence is spatial autocorrelation: the correlation of a variable with itself across space. It can be positive, when similar values cluster together; zero, when values are arranged at random; or negative, when unlike values sit next to each other, as on a checkerboard (Figure 1.2). Positive spatial autocorrelation is by far the most common in the real world. Negative autocorrelation is rare, and appears where things compete for space, such as stores spacing themselves out or trees shading out their neighbors.
Spatial dependence is a gift and a problem. It is a gift because it makes geography possible at all: if nearby places were no more alike than distant ones, a map would be noise, and we could never estimate the value at an unsampled location from its neighbors. Interpolation, which you will meet later in the book, is the First Law put to work.
It is a problem because most classical statistical tests assume that observations are independent: that knowing one value tells you nothing about another. Spatial data break that assumption. Fifty neighboring census tracts are not fifty independent pieces of evidence, because each one is partly a copy of its neighbors. Treating them as independent makes a result look more certain than it is, and that is one of the most common mistakes in published spatial analysis.
1.2.2 Spatial heterogeneity
The second property is spatial heterogeneity: the world is not the same everywhere. A relationship that holds in one place may be weaker, stronger, or reversed in another. Rainfall predicts crop yield well in western Kansas, where farms depend on it, and poorly in the irrigated Central Valley of California. The link between income and health may be different in rural eastern North Carolina than in the Research Triangle. Michael Goodchild has suggested it as a “second law of geography.”
Heterogeneity matters because a single number fitted to a whole study area, such as one average or one regression coefficient, can hide the most interesting part of the answer. An effect that averages out to zero across a state may be strongly positive in the mountains and strongly negative on the coast. Later chapters introduce local statistics and geographically weighted methods that let a relationship change from place to place.
A study reports that, across all 100 North Carolina counties, the number of grocery stores has no relationship with rates of diet-related illness. Using spatial heterogeneity, explain how this could be true for the state as a whole and still be false for many individual regions.
1.3 Fields and objects
Before anything can go into a GIS, someone has to decide what kind of thing it is. GIScience recognizes two basic ways of seeing the geographic world, and the choice between them shapes everything that follows (Couclelis 1992; Longley et al. 2015).
1.3.1 Two views of the world
The field view sees the world as a set of variables, each with a value at every location. Elevation is a field: there is an elevation at every point on Earth, with no gaps. So are temperature, air pressure, soil moisture, and noise level. A field has no edges or individual things in it, only a value that changes, smoothly or abruptly, from place to place.
The object view sees the world as an empty space filled with discrete objects: things with identities and edges. A building, a road, a well, a lake, and a county are objects. Between the objects there is nothing to record. Each object can carry attributes (a building’s height, a road’s name), and objects can be counted.
Figure 1.3 shows the same small area both ways. On the left, elevation is a field that covers every part of the map. On the right, the lake, roads, buildings, and trees are objects, and the space between them is empty.
1.3.2 Fields, objects, rasters, and vectors
The two views line up loosely with the two main data models you already know. Fields are usually stored as rasters, a grid of cells with a value in each, and objects are usually stored as vectors: points, lines, and polygons. But the match is loose, and confusing a view of the world with a data model causes trouble.
A field can be stored as vectors: contour lines, a triangulated irregular network (TIN), or a set of sample points are all vector ways of recording a continuous surface. An object can be stored in a raster: a land-cover raster stores lakes and forests as groups of cells with the same code. The view comes first; the data model is a decision about how to store it.
| Phenomenon | Usually seen as | Often stored as | Could also be stored as |
|---|---|---|---|
| Elevation | Field | Raster (DEM) | Contours or a TIN (vector) |
| Air temperature | Field | Raster | Weather station points |
| Building footprints | Objects | Polygons | Cells in a land-use raster |
| Streams | Objects | Lines | Cells in a flow raster |
| Land cover | Either | Raster | Polygons |
1.3.3 When the choice is hard
Some phenomena don’t fit neatly into either view. Is a forest an object, with an edge you can draw on a map, or a field of tree density that fades gradually into grassland? Is a wetland a polygon, or a field of soil saturation that changes with the seasons? Is “the Research Triangle” a place with a boundary at all?
There is no single right answer. The choice depends on the question. If you are counting the number of forest patches for a habitat study, the forest is a set of objects. If you are modeling how fire moves through vegetation, it is a field of fuel load. What matters is that you make the choice deliberately, and that you remember the edges you drew around a forest are a decision you made, not a fact about the world. Geographers call the study of what kinds of things exist in the geographic world, and how we categorize them, the ontology of geographic information.
How would you represent a hurricane in a GIS: as an object (a storm with a track and a name), as a field (wind speed and rainfall everywhere), or both? What question would lead you to each choice?
1.4 Scale, resolution, and detail
No word in geography causes more confusion than scale, because it has two meanings that run in opposite directions.
1.4.1 Two meanings of scale
Cartographic scale is the ratio between a distance on a map and the same distance on the ground, often written as a representative fraction such as 1:24,000. A large-scale map has a large fraction (1:24,000 is larger than 1:1,000,000), so it shows a small area in great detail, such as a single town. A small-scale map shows a large area, such as a whole country, with little detail.
Geographic scale, or the scale of analysis, is the size of the area or the process being studied. A “large-scale study” in this sense covers a large area, such as a whole continent. That is the opposite of the cartographer’s meaning, so in your own writing it is clearer to say “fine” and “coarse,” or “local” and “regional,” than “large” and “small.”
1.4.2 Resolution and level of detail
Resolution is the size of the smallest feature a data set can show. For a raster, it is the cell size: a 10 m elevation model can show features about 10 meters across, and nothing smaller. For vector data, resolution is tied to the scale at which the data were captured. A stream layer digitized from 1:100,000 maps leaves out small streams and smooths the bends of large ones, while one digitized at 1:24,000 keeps far more of both. Level of detail is the broader idea: how much of the world’s complexity a representation keeps.
Figure 1.4 shows the same elevation field at three cell sizes. At 200 m the hills and valleys are clear. At 1,000 m their general pattern survives but the shapes are lost. At 2,500 m the 10 km square is reduced to sixteen cells, and only the broad slope from north to south remains.
1.4.3 Measurements that depend on scale
Resolution is not just about how a map looks. Many measurements change with it. The most famous example is the length of a coastline. In 1967 the mathematician Benoit Mandelbrot asked “How long is the coast of Britain?” and showed that the answer depends on the length of the ruler (Mandelbrot 1967). A long ruler steps across bays and headlands; a short one follows them in and out, and finds a longer coast. Figure 1.5 measures one synthetic coastline with three rulers. The straight-line distance from end to end is 10 km, but the measured length grows from about 12 km to about 18 km as the ruler shrinks, and it would keep growing with a shorter ruler still.
This is the answer to the stream question at the start of the chapter. The finer-scale stream layer includes small headwater streams and the true wiggles of every channel, so it has far more stream length, and a buffer around it covers far more land. Neither number is wrong. Each is true at its own scale, and a responsible analyst reports the scale along with the number.
A related problem arises when data are counted or averaged in zones. The modifiable areal unit problem (MAUP) is the finding that results can change, sometimes dramatically, when the same data are grouped into different zones: counties rather than census tracts, or the same area split along different lines (Openshaw 1984). A correlation between two variables can be strong at one zoning and disappear at another. You will meet the MAUP again whenever you work with census data or summarize points into areas.
Along the general outline of the ocean coast, California’s coastline is 840 miles long and North Carolina’s is 301 miles, so California’s is almost three times as long (National Oceanic and Atmospheric Administration 1975). Now measure the tidal shoreline instead: the shore of every sound, bay, inlet, and tidal river, as far up as the tide reaches. How do the two states compare?
Show the answer
They come out almost the same: about 3,427 miles for California and 3,375 miles for North Carolina (National Oceanic and Atmospheric Administration 1975). North Carolina’s Outer Banks enclose Pamlico and Albemarle Sounds, and their shores and the tidal rivers that feed them add thousands of miles that the general outline steps right across. Neither figure is wrong: they are measurements of the same coast at different resolutions, which is exactly the point of Figure 1.5.1.5 Uncertainty
Every geographic data set is a simplified, imperfect model of the world. A road’s centerline is drawn a few meters from where the road really is. A soil polygon labeled “Cecil sandy loam” contains patches of other soils. A census count misses some people and counts others twice. This is not because someone was careless. It is because the world is endlessly detailed and data are finite. GIScience treats uncertainty as a property of all geographic information, something to measure and report, not a flaw to hide (Zhang and Goodchild 2002; Longley et al. 2015).
1.5.1 Where uncertainty comes from
Uncertainty enters at every step from the world to the map:
- Conception. Some things have no sharp definition. Where exactly does a forest end, or a neighborhood begin? This kind of uncertainty is called vagueness, and no amount of careful measurement removes it.
- Measurement. Instruments and methods have limits. A phone’s GPS position may be off by 5 meters or more; a satellite image cannot see anything smaller than its pixels; two people digitizing the same map will draw slightly different lines.
- Representation. Choosing a field or object view, a cell size, or a classification throws away information, as the previous two sections showed.
- Analysis. Each operation can carry uncertainty forward and enlarge it. A small error in elevation becomes a larger error in slope, and a larger one still in a model that depends on slope.
1.5.2 Accuracy and precision
Two words describe the quality of a measurement, and they are often confused. Accuracy is how close a measurement is to the true value. Precision is how finely it is reported, or how consistent repeated measurements are. A coordinate written to eight decimal places looks impressive, but if it came from a phone GPS in a downtown street, it may be precise to a millimeter and accurate only to 10 meters. False precision, reporting more digits than the data can support, is one of the easiest ways to mislead a reader without meaning to.
1.5.3 Living with uncertainty
Because uncertainty can’t be removed, the goal is to understand it and communicate it. In practice that means:
- Reading the metadata. Find out the data’s scale, date, source, and stated accuracy before using them.
- Matching the data to the question. Data made for a statewide map may be unfit for a decision about a single parcel.
- Testing sensitivity. Run the analysis with a different data source, cell size, or zoning, and see whether the answer changes. If it does, that change is part of your result.
- Reporting honestly. Give ranges or margins of error where you can, round to a sensible number of digits, and say what the data can’t show.
Uncertainty runs through this whole book. You will quantify it in projections, measure it in data quality assessments, carry it through analyses, and show it on maps.
A city wants to know which homes are inside a 500 m buffer around an industrial site, to decide who is eligible for free air filters. List three sources of uncertainty in that analysis. For a home 490 m from the site, how confident would you be that it is really inside the buffer?
1.6 Check your understanding
Who coined the term “geographic information science,” arguing that the hard problems in GIS were scientific questions?
“Near things are more related than distant things” describes:
A checkerboard pattern of high and low values shows positive spatial autocorrelation.
Air temperature is best described as a:
Which map shows a smaller area in more detail?
The finding that results change when the same data are grouped into different zones is called the modifiable areal unit ___ (one word).
A coordinate reported to eight decimal places from a phone GPS is very precise, and therefore very accurate.
Where exactly a forest ends and grassland begins is an example of which kind of uncertainty?
Positive autocorrelation means similar values sit together. On a checkerboard, every cell’s neighbors are unlike it.
1.7 Summary
- A GIS is a tool for collecting, storing, analyzing, and displaying geographic data. GIScience is the science behind it: how geographic information is represented and analyzed, and how true the results are.
- Tobler’s First Law says near things are more related than distant things. This spatial dependence (measured as spatial autocorrelation) makes interpolation possible, but breaks the independence assumption of classical statistics.
- Spatial heterogeneity means relationships change from place to place, so one number for a whole study area can hide important local patterns.
- The field view sees continuous variables with a value everywhere; the object view sees discrete things with edges. The view is a choice about the world; raster and vector are choices about storage.
- Cartographic scale and geographic scale run in opposite directions. Resolution limits the smallest feature a data set can show, and many measurements, such as coastline length, change with it. The MAUP shows that results also change with the zones used.
- Uncertainty is part of all geographic data. It comes from conception, measurement, representation, and analysis. Distinguish accuracy from precision, test how sensitive your results are, and report them honestly.
Now go back to the two analysts at the start of the chapter. Could you explain to their boss why their answers differ, and what each should have reported along with the number?
1.8 Exercises
- System or science? For a topic you care about, write one GISystems task and one GIScience research question. Explain what makes the second one a scientific question.
- Testing the First Law. Find a map of a variable you expect to be positively autocorrelated (such as median household income by census tract) and one you expect to be close to random. Describe what you see, and explain the processes that would produce each pattern.
- Fields or objects? For each of the following, say whether you would treat it as a field or as objects, and how you would store it: soil type, wildfire perimeters, traffic noise, cell towers, flood depth, and school districts. For at least one, argue for the other choice.
- Scale words. Find a news article or research abstract that uses the phrase “large scale.” Which meaning of scale does it use? Rewrite the sentence so that there is no ambiguity.
- The length of a river. In ArcGIS Pro or QGIS, load two versions of the same river at different scales (for example, the USGS National Hydrography Dataset at medium and high resolution). Measure the river’s length in each. How much do they differ, and which would you report?
- Accuracy and precision. Record the coordinates of the same spot on campus with your phone five times, a few minutes apart. How precise are the readings? How could you find out how accurate they are?
- Read Couclelis (1992) and Goodchild (2004). In two pages, explain how the choice between a field and an object representation shapes a research question in your own field, using a specific data set you work with or plan to use.
- Anselin (1989) argues that spatial data need their own methods. Find a published study in your field that treats spatial observations as independent. What might change if spatial dependence were taken into account?
1.9 Further reading and online resources
1.9.1 Books
- Geographic Information Science and Systems, by Paul Longley, Michael Goodchild, David Maguire, and David Rhind (Longley et al. 2015). The standard text on GIScience; Chapters 1 through 5 cover the ideas in this chapter in more depth.
- Uncertainty in Geographical Information, by Jingxiong Zhang and Michael Goodchild (Zhang and Goodchild 2002). A thorough treatment of where uncertainty comes from and how to model it.
- Learning to Think Spatially, by the National Research Council (National Research Council 2006). Why spatial thinking matters, and how GIS supports it. Free to read at https://nap.nationalacademies.org/catalog/11019.
1.9.2 Classic papers
- Michael Goodchild’s paper that named the field, “Geographical information science” (Goodchild 1992), and his later reflection on GIScience and geography (Goodchild 2004).
- Waldo Tobler’s paper that introduced the First Law (Tobler 1970), and a forum on whether it is really a law (Sui 2004).
- Helen Couclelis on fields, objects, and the raster-vector debate (Couclelis 1992).
- Benoit Mandelbrot, “How long is the coast of Britain?” (Mandelbrot 1967).
- Stan Openshaw’s short book on the modifiable areal unit problem (Openshaw 1984).