Lect 4 4IS GIS Using ArcGIS Spatial Analyst Ch3

Download as pdf or txt
Download as pdf or txt
You are on page 1of 21

Using ArcGIS Spatial Analyst

GIS by ESRI ™

Jill McCoy and Kevin Johnston


Copyright © 2001 ESRI
All rights reserved.
Printed in the United States of America.
The information contained in this document is the exclusive property of ESRI. This work is protected under United States copyright law and other
international copyright treaties and conventions. No part of this work may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying and recording, or by any information storage or retrieval system, except as expressly permitted in writing by ESRI. All
requests should be sent to Attention: Contracts Manager, ESRI, 380 New York Street, Redlands, CA 92373-8100, USA.
The information contained in this document is subject to change without notice.

DATA CREDITS
Quick-start tutorial data: courtesy of the State of Vermont
Haul Cost Analysis map: Boise Cascade Corporation, Boise, Idaho

Crime Analysis map: Philadelphia Police Department, Philadelphia, Pennsylvania

Geopolitical map of Greece: Terra Ltd., Athens, Greece

Joshua Tree National Park data: National Park Service, Department of the Interior, U.S. Government

CONTRIBUTING WRITERS
Steve Kopp, Brett Borup, Jason Willison, Bruce Payne

U.S. GOVERNMENT RESTRICTED/LIMITED RIGHTS


Any software, documentation, and/or data delivered hereunder is subject to the terms of the License Agreement. In no event shall the U.S. Government
acquire greater than RESTRICTED/LIMITED RIGHTS. At a minimum, use, duplication, or disclosure by the U.S. Government is subject to restrictions
as set forth in FAR §52.227-14 Alternates I, II, and III (JUN 1987); FAR §52.227-19 (JUN 1987) and/or FAR §12.211/12.212 (Commercial Technical
Data/Computer Software); and DFARS §252.227-7015 (NOV 1995) (Technical Data) and/or DFARS §227.7202 (Computer Software), as applicable.
Contractor/Manufacturer is ESRI, 380 New York Street, Redlands, CA 92373-8100, USA.

ESRI and the ESRI globe logo are trademarks of ESRI, registered in the United States and certain other countries; registration is pending in the European
Community. ArcMap, ArcGIS, and GIS by ESRI are trademarks and www.esri.com and www.arconline.esri.com are service marks of ESRI. Microsoft is a
registered trademark and the Microsoft Internet Explorer logo is a trademark of Microsoft Corporation. HP and LaserJet are registered trademarks of Hewlett–
Packard.

Other companies and products mentioned herein are trademarks or registered trademarks of their respective trademark owners.

Attribution.p65 1 02/28/2001, 7:49 AM


Contents Getting started
1 Introducing ArcGIS Spatial Analyst 3
Deriving information from data 4
Identifying spatial relationships 5
Finding suitable locations 6
Calculating cost of travel 7
Tips on learning Spatial Analyst 8

2 Quick-start tutorial 11
Exercise 1: Displaying and exploring your data 13
Exercise 2: Finding a site for a new school in Stowe, Vermont, USA 23
Exercise 3: Finding an alternative access road to the new school site 39

3 Modeling spatial problems 55


Modeling spatial problems 56
A conceptual model for solving spatial problems 58
Using the conceptual model to create a suitability map 61

Understanding rasters and analysis


4 Understanding raster data 73
Understanding a raster dataset 74
Coordinate space and the raster dataset 78
Discrete and continuous data 82
The resolution of a raster dataset 84
Raster encoding 85
Representing features in a raster dataset 86
Assigning attributes to a raster dataset 88
Using feature data directly in Spatial Analyst 89
Deriving raster datasets from existing maps 90

iii

contents.p65 3 02/28/2001, 7:53 AM


12
5 Understanding cell-based modeling 91
Understanding analysis in Spatial Analyst 92
The operators and functions of Spatial Analyst 93
NoData and how it affects analysis 101
Values and what they represent 102
The analysis environment 104
The cell size and analysis 105
Handling projections during analysis 106

Performing analysis
6 Setting up your analysis environment 109
Creating temporary or permanent results 110
Specifying a location on disk for the results 112
Using an analysis mask 113
About the coordinate system and analysis 115
Setting the extent for results 116
Setting the cell size for results 117

7 Performing spatial analysis 119


Mapping distance 120
Straight line distance 121
Allocation 124
Cost weighted distance 126
Shortest path 131
Mapping density 133
Interpolating to raster 135
Inverse Distance Weighted 136
Spline 139
Kriging 141
Performing surface analysis 149

iv USING ARCGIS SPATIAL ANALYST

contents.p65 4 02/28/2001, 7:53 AM


Contour 151
Slope 153
Aspect 155
Hillshade 157
Viewshed 160
Cell statistics 162
Neighborhood statistics 164
Zonal statistics 168
Reclassification 171
The Raster Calculator 177
Conversion 184

Appendix A 189
Map Algebra language components 190
Map Algebra rules 197

Appendix B 201
Table of supported operators and precedence values 202
About precedence values 203

Appendix C 205
About remap tables 206
Slice and remap tables 210
Reclass and remap tables 213
Slice versus Reclass relative to remap tables 214

Glossary 215

Index 225

CONTENTS v

contents.p65 5 02/28/2001, 7:53 AM


Modeling spatial problems
IN THIS CHAPTER
3
Spatial Analyst can help you perform useful analysis, but it cannot solve
problems by itself. To get the results you are hoping for, you have to ask the
• Modeling spatial problems right questions and provide the right information. This chapter will introduce
you to the concept of spatial modeling to help you recognize the conceptual
• A conceptual model for solving
spatial problems
steps involved in performing spatial analysis.
This chapter will explain:
• Using the conceptual model to
create a suitability map • Modeling spatial problems.
• The conceptual modeling process:
• Stating the problem
• Breaking the problem down
• Exploring input datasets
• Performing analysis
• Verifying the model’s result
• Implementing the result
• Following the conceptual modeling process to build a suitability model. The
suitability model from Exercise 2 of the quick-start tutorial, ‘Finding a site
for a new school in Stowe, Vermont, USA’, will be broken down
conceptually to explain each of the modeling steps.

55

chp3.p65 55 02/28/2001, 8:47 AM


Modeling spatial problems
In general terms, a model is a representation of reality. Due to the The representation model attempts to capture the spatial
inherent complexity of the world and the interactions in it, models relationships within an object (the shape of a building) and
are created as a simplified, manageable view of reality. Models between the other objects in the landscape (the distribution of
help you understand, describe, or predict how things work in the buildings). Along with establishing the spatial relationships, the
real world. There are two main types of models: those that GIS representation model is also able to model the attributes of
represent the objects in the landscape (representation models) the objects (who owns each building). Representation models are
and those that attempt to simulate processes in the landscape sometimes referred to as data models and are considered
(process models). descriptive models.

Representation models Process models


Representation models try to describe the objects in a landscape Process models attempt to describe the interaction of the objects
such as buildings, streams, or forest. The way representation that are modeled in the representation model. The relationships
models are created in a GIS is through a set of data layers. For are modeled using spatial analysis tools. Since there are many
Spatial Analyst, these data layers will be either raster or feature different types of interactions between objects, ArcGIS and
data. Raster layers are represented by a rectangular mesh or grid, Spatial Analyst provide a large suite of tools to describe
and each location in each layer is represented by a grid cell, interactions. Process modeling is sometimes referred to as
which has a value. Cells from various layers stack on top of each cartographic modeling. Process models can be used to describe
other, describing many attributes of each location. processes, but they are often used to predict what will happen if
some action occurs.
Each Spatial Analyst operation and function can be considered a
process model. Some process models are simple, while others are
more complex. Even more complexity can be added by including
logic, combining multiple process models, and using the Spatial
Analyst object model and Microsoft® Visual Basic®.

56 USING ARCGIS SPATIAL ANALYST

chp3.p65 56 02/28/2001, 2:34 PM


One of the most basic Spatial Analyst operations is adding two And even more complexity is added by combining several
rasters together: functions and logic:

Complexity can be added through logic:

A process model should be as simple as possible to capture the


necessary reality to solve your problem. You may just need a
single operation or function, but sometimes hundreds of
operations and functions may be necessary.

Types of process models


Additional complexity is added through specialized functions: There are many types of process models to solve a wide variety
of problems. Some include:
• Suitability modeling: Most spatial models involve finding
optimum locations, such as finding the best location to build a
new school, landfill, or resettlement site.
• Distance modeling: What is the flight distance from Los
Angeles to San Francisco?
• Hydrologic modeling: Where will the water flow to?
• Surface modeling: What is the pollution level for various
locations in a county?
A set of conceptual steps can be used to help you build a model.
The remainder of this chapter explains these steps.

MODELING SPATIAL PROBLEMS 57

chp3.p65 57 02/27/2001, 3:58 PM


A conceptual model for solving spatial problems
Step 1: Stating the problem
What is your goal?

Step 2: Breaking the problem down


What are the objectives to reach your goal?
What are the phenomena and interactions (process models)
necessary to model?
What datasets will be needed?

Step 3: Exploring input datasets


What is contained within your datasets?
What relationships can be identified?

Step 4: Performing analysis


Which GIS tools will you use to run the individual
process models and build the overall model?

Step 5: Verifying the model’s result


Do certain criteria in the overall model need
changing?
If Yes—go back to step 4.

Step 6: Implementing the result

58 USING ARCGIS SPATIAL ANALYST

chp3.p65 58 02/27/2001, 3:58 PM


Step 1: Stating the problem During this step, you should also identify the necessary input
datasets. Input datasets might contain sightings of moose in the
To solve your spatial problem, you need to start off by clearly past week, vegetation type, and the location of human dwellings
stating the problem you are trying to solve. What is your goal? and roads. Once you have identified them, they need to be
Following the steps below will help you realize your goal. represented as a set of data layers (a representation model). To
do this, you need to understand how raster data is represented in
Step 2: Breaking the problem down Spatial Analyst. Chapter 4, ‘Understanding raster data’, explains
Once the goal of the problem is understood, you must then break the concepts involved when representing data.
the problem down into a series of objectives, identify the The overall model (made up of a series of objectives, process
elements and their interactions that are needed to meet your models, and input datasets) provides you with a model of reality,
objectives, and create the necessary input datasets to develop which will help you in your decision making process.
the representation models.
By breaking the problem down into a series of objectives, you will Step 3: Exploring input datasets
discover the necessary steps to reach your goal, which will help It is useful to understand the spatial and attribute relationships of
you to solve the problem. If your goal was to find the best sites the individual objects in the landscape and the relationships
for spotting moose, your objectives might be to find out where between them (the representation model). To understand these
moose were recently spotted, what vegetation types they feed on relationships, you need to explore your data. A wide variety of
most, and so on. By arranging the objectives in order, you will tools are available in ArcGIS and Spatial Analyst to explore your
begin to understand the big picture of what you are ultimately data, and these tools are covered throughout the various books
trying to solve. accompanying ArcGIS.
Once you have established your objectives, you need to identify
the elements, and the interactions between these elements, that Step 4: Performing analysis
will meet your objectives. The elements will be modeled through
At this stage, you need to identify the tools to use to build the
representation models and their interactions through process
overall model. Spatial Analyst provides a wide variety of tools to
models. Moose and vegetation types will be only a few of the
serve this purpose. In our moose spotting example, you may need
elements necessary for identifying where moose are most likely to
to identify the tools necessary to select and weight certain
be. The location of humans and the existing road network will
vegetation types and buffer houses and roads and weight them
also influence the moose. The interactions between the elements
appropriately. Chapter 5, ‘Understanding cell-based modeling’,
are that moose prefer certain vegetation types and they avoid
presents the principles for performing cell-based modeling and
humans, who can gain access to the landscape through roads. A
the issues that must be considered. Chapter 6, ‘Setting up your
series of process models might be needed to ultimately find the
analysis environment’, and Chapter 7, ‘Performing spatial
locations with the greatest chance of spotting a moose.
analysis’, show how these principles are realized in Spatial
Analyst.

MODELING SPATIAL PROBLEMS 59

chp3.p65 59 02/27/2001, 4:48 PM


Step 5: Verifying the model’s result
Check the result from the model in the field. Do certain parameters
need changing to give you a better result?
If you created several models, determine which model you should
use. You need to identify which model is best. Does one
particular model clearly meet your initial goal better than the rest?

Step 6: Implementing the result


Once you have solved your spatial problem, verifying that the
result from a particular model meets your initial expectations
outlined in step 1, implement your result. When you visit the
locations with the greatest chance of spotting moose, do you in
fact see any?

60 USING ARCGIS SPATIAL ANALYST

chp3.p65 60 02/27/2001, 4:48 PM


Using the conceptual model to create a suitability map
Step 1: Stating the problem Step 2: Breaking down the problem
To solve a spatial problem, you should first state the problem you Once the problem is stated, break it down into smaller pieces until
are trying to solve. What is your goal? Start with a concept of the you know what steps are required to solve it. These steps are
intended output of the study; visualize the type of map you want objectives that you will solve.
to produce. When defining objectives, consider how you will measure them.
To understand the step process, you will work through a sample How will you measure what is the best area for the new school?
problem for the remainder of this chapter. Your problem is to find In siting the school, it is preferable to find a location near
the best location for siting a new school. The result you seek is a recreational facilities, as many of the families who have relocated
map showing potential sites (ranked best to worst) that could be to the town have young children interested in pursuing
suitable for building a new school. This is called a ranked recreational activities. It is also important to be away from existing
suitability map because it shows a relative range of values schools to spread their locations over the town. The school must
indicating how suitable each location is on the map, taking into also be built on suitable land that is relatively flat.
account the criteria you put into the model. The graphic below outlines the objectives:
To help you model your spatial problem, draw a
Best site diagram of the steps involved: Best site
for a new Start with the statement of the problem. As you for a new
school work through the problem, you will expand the school
diagram to show objectives, process models,
and necessary input datasets to use to reach
your goal.

Near Away from On On


recreational existing relatively suitable
facilities schools flat land landuse

You want to know the following: “Where are locations with


relatively flat land? Is the landuse in these locations of a suitable
type? Are these locations close enough to recreation sites? Are
they far enough away from existing schools?”

MODELING SPATIAL PROBLEMS 61

chp3.p65 61 02/27/2001, 4:48 PM


Are these locations close enough to recreation sites?
Best site
You know that it is preferable to locate the school close to for a new
recreational facilities, so you need to create a map displaying the school
distance to recreation sites to locate the school in areas that are
close to them. The process model here involves calculating the
distance from recreation sites.
Input dataset needed: location of recreational facilities
Near Away from On On
Are they far enough away from existing schools?
recreational existing relatively suitable
You want to site the school away from existing schools to avoid facilities schools flat land landuse
encroaching on their catchment areas. So you need to create a
map displaying the distance to schools. Here, the process model
involves calculating the distance from existing schools.
Input dataset needed: location of existing schools

Where are locations with relatively flat land?


Calculate slope

To find areas of relatively flat land, you need to create a map


displaying the slope of the land. The process model here involves
calculating the slope of the land. Calculate distance
Input dataset needed: elevation

Is the landuse in these locations of a suitable type? Elevation


You need to decide what makes a suitable landuse type on which
to build. This is a subjective process, according to your problem.
Here, agricultural land is considered the least costly to build on
and therefore the most preferable. Barren land is next, then brush/ Landuse
transitional, forest, and existing built-up areas. There is no
process model involved here, just an identification of the input
Rec_sites Schools
landuse dataset and which landuses are most preferable to build
on.
Input dataset needed: landuse

62 USING ARCGIS SPATIAL ANALYST

chp3.p65 62 02/27/2001, 4:48 PM


Step 3: Exploring input datasets Examine the attribute table for each layer.

Once you have broken down your problem into a series of


objectives and process models and decided what datasets you
will need, you should explore your input datasets to understand
their content. This involves understanding which attributes
within and between datasets are important for solving the
problem and looking for trends in the data.
By exploring your data, you can often gain insights about the
areas you wish to locate the school in, the weightings for input
attributes, and alterations to your modeling process. You can see
the locations of existing schools and recreation sites, and you Create and examine histograms from each layer.
can tell from the elevation dataset where the higher elevations
are. The landuse dataset tells you what types of landuse are in
the area and where they are located in relation to the other
datasets.
See Exercise 1 of the Quick-start tutorial for how to use some of
the tools of ArcMap and Spatial Analyst to explore your data.

Identify features to get information from all layers.

Calculate hillshade to examine the relief.

MODELING SPATIAL PROBLEMS 63

chp3.p65 63 02/27/2001, 4:48 PM


Step 4: Performing analysis Creating suitability scales
You have decided on your objectives, the elements and their As is the case with this example, many scales are synthetic.
interactions, the process models, and what input datasets you These are often a ranked measure of suitability, or preference,
will need. You are now in the position to perform analysis. from best to worst. It is based on something you can measure
such as distance to schools, but in the end it is a subjective
The book The ESRI Guide to GIS Analysis describes in detail the
measure of how suitable a certain distance is from a school for
many tasks that can be solved with ArcGIS.
locating another school.
When finding the best location for the new school, there are
There are natural scales that are commonly associated with some
two ways to go about performing analysis. You can create a
objectives. Cost is a good example but needs to be defined in
suitability map to find out the suitability of every location on the
sufficient detail. In a study of building suitability, an objective of
map, or you can simply query your created datasets to obtain a
low real estate cost would be measured on a scale of dollars. Be
Boolean result of true or false.
sure to adequately define the scale. For something as well
understood as dollars, there are other variables such as whether
Creating a suitability map
it’s U.S. dollars, Australian dollars, or an exchange rate between
Creating a suitability map enables you to obtain a suitability monies.
value for every location on the map. Many scales are not linear relationships, although they are often
Once you have created the necessary layers, how do these presented that way to save time and money or because all
created layers get combined to create a single ranked map of options were not considered. For example, if assigning a scale to
potential areas to site the school? You need a way to compare the travel distance, traveling 1, 5, or 10 kilometers would not be
values of classes between layers. One way to do this is to assign ranked as a suitability of 10, five, and one if you were walking.
numeric values to classes within each map layer. Some people may think walking 5 kilometers is only two times as
Each map layer is ranked by how suitable it is as a location for a bad as 1 kilometer, while others may think it’s 10 times as bad.
new school. You may, for instance, assign a value to each class in When you construct a suitability scale, work with experts to find
each layer on a scale of 1–10, with 10 being the best. This is often the best and worst of a scenario and as many intermediate points
referred to as a suitability scale. as possible. Experts should be knowledgeable about the objective
NoData can be used to mask off areas that should not be being studied. For example, it is more meaningful to ask
considered. Having all measures on the same numeric scale gives commuters to rank their opinions on drive-time desirability than
them equal importance in determining the most suitable locations. to ask a city official when he thinks traffic is worst.
The model is initially constructed in this way, then while testing
alternative scenarios, weight factors can be applied to layers to
further explore the data and its relationships.

64 USING ARCGIS SPATIAL ANALYST

chp3.p65 64 03/01/2001, 9:44 AM


Ranking the areas close to recreation sites Ranking the areas away from existing schools
To site the school close to recreational facilities, you need to To avoid the catchment areas of the other schools, you need to
know the distance to them. The Spatial Analyst Straight Line know the distance to them. The Spatial Analyst Straight Line
Distance function will create such a map, calculating the straight Distance function will create such a map, calculating the straight
line distance from any location to the nearest recreation site. The line distance from any location to the nearest school. The result is
result is a raster dataset in which every cell represents the a raster dataset in which every cell represents the distance to the
distance to the nearest recreation site. To rank this map, simply nearest school. To rank this map, simply use the Reclassify
use the Reclassify function. As it is preferable to locate close to function. As it is preferable to locate away from existing schools,
recreation sites, give a value of 1 to distances far from recreation give a value of 1 to distances close to existing schools and a
sites and a value of 10 to distances close to recreation sites, then value of 10 to distances far from existing schools, then rank the
rank the distances linearly in between as the following chart distances linearly in between as the following chart shows.
shows.

10
10

8
8
Suitability

Suitability
6

4
4

2
2

0
0
9

5
7

7
0

7
63

45

27

37

19
73

55
82

09

70
91

0
0

5
5

0
69

47

56
39

08

25
78

86
2,
1,

95
3,

7,

8,
5,

6,

,1
4,

4,

8,
1,

3,

3,

5,
5,

6,

10

1,

8,

–1

–1

–1
63

–1
82

45

55

37


91

73
27

09

78

65

60
70
69

39

08

55
1,

2,

47
6,

7,
4,

5,
3,

4,

6,

,8
,1

,5
1,

3,

5,

,2
8,
10

11

13

15
Distance (meters)
Distance (meters)

MODELING SPATIAL PROBLEMS 65

chp3.p65 65 02/27/2001, 4:48 PM


Ranking the areas on relatively flat land preferable and whether steep slopes or less steep slopes are
preferable, then rank the rest of the values linearly, or specify a
To avoid steep slopes and find areas that are relatively flat to
maximum distance or slope to consider. Here you have to decide
build on, you need to know the slope of the land. The Spatial
which landuse types are preferable. This is subjective depending
Analyst Slope function will create such a map, identifying for
on your study. The easiest way to decide what type of land is
each cell the maximum rate of change in value from each cell to its
preferable for building on and what is not is to decide on the most
neighbors. To rank this map, simply use the Reclassify function.
preferable and then the least preferable. Then, out of the landuse
As it is preferable to locate on relatively flat slopes, give a value
types left, again decide on the most and least preferable. Do this
of 1 to locations with steep slopes, 10 to locations with the least
until you have put the landuse type in order of preference.
steep slopes, then rank the values linearly in between as the
Landuses of Water and Wetlands have been excluded from the
following chart shows.
analysis since you cannot build on water, and there are
10
restrictions against building on wetlands. The chart below shows
how the landuse types have been ranked.
8
10
Suitability

6
8
4

Suitability
6
2
4
0
2
0
0

1
.8

0
7

4
9

9.
2.

7.

5.

3.

1.
3.

9.
7.

15

–7
–3

–4

–5

–6

–7
–2

–3

.0
.7

.4

.3

.2

.1
.8

.0
7.

0
71
23

39

47

55

63
15

32

n
re

up
st
Slope (degrees)

rre

us
tu

re
Br

ilt
ul

Ba

Fo

Bu
ric
Ag

Landuse types
Ranking the areas on suitable landuse types
To rank the map representing landuse types, use the Reclassify
function. As it is preferable to build on certain landuse types due
to the costs involved, you need to decide how to rank the values.
Ranking distance or slope values is relatively straightforward.
You simply have to decide whether short or long distances are

66 USING ARCGIS SPATIAL ANALYST

chp3.p65 66 02/27/2001, 4:48 PM


Combining the suitability maps
The last step in the suitability model is to combine the suitability
maps of distance to recreation sites, distance to schools, slope,
and landuse.
If all objectives had equal weight, the suitability maps could
simply be combined at this point using the Raster Calculator.
However, you know from breaking down the problem that the
most preferable objective to satisfy is to locate the school close
to recreational facilities, and the next is to locate away from
existing schools.
To account for the fact that some objectives have more
importance in the suitability model, you can weight the datasets,
giving those datasets that should have more importance in the
model a higher percentage influence (weight) than the others.
The following percentage influences will be assigned to the
suitability maps. The values in brackets are the percentage
divided by 100 to normalize the values. This normalized value will
be assigned to each suitability map:
Distance to recreation sites: 50% (0.5)
Distance to schools: 25% (0.25)
Slope: 12.5% (0.125)
Landuse types: 12.5% (0.125)
So, the Distance to recreation sites suitability map has an
influence of 50% (0.5) on the final result, and Distance to schools
has an influence of 25% (0.25). Slope and Landuse types both
have a 12.5% (0.125) influence. Like assigning scales of
suitability, assigning weights is a subjective process, depending
on what objectives are most important to your study.
The following graphs show the effect of applying the above
weights on each suitability map.

MODELING SPATIAL PROBLEMS 67

chp3.p65 67 02/27/2001, 4:48 PM


Weights assigned to each suitability map
Notice how the values of suitability have changed by applying weights. For example, the suitability value for Agriculture was 10 in the
original suitability map. By applying a weight of 0.125 (or a percentage influence of 12.5%), the suitability value for Agriculture is now
only 1.25. When these four weighted suitability maps are combined, the suitable locations for the school will have been influenced by
the assigned weights. Areas close to recreation sites will have the most influence on the final suitability map.

10 10

8 8

Suitability
Suitability

6 6

4 4

2 2

0 0
0

1
3

0
8

7
7
9

.8
6
7

4
7

7
82

45

19

3.
7.

5.

1.

9.
27

55
09
63

7.
37
73

2.

9.
91

3.
15

–6
–4

–5

–7

–7

–3

–3
–2

2,

8,
3,

6,
4,
1,

7,
5,
4,


.2
.4

.3

.1

.0




.7

.0

.8
7.

55
39

47

63

71
23

32
15
63

37
45

73
27
82

55
91
09
1,

7,
2,

5,
3,

6,
4,
4,

Distance to recreation sites (meters) Slope (degrees)


10 10

8 8
Suitability

Suitability
6 6

4 4

2 2

0 0 re

st
n

up
70

0
5

5
0

0
5

us
rre
tu

re
86
47

56

95
25
39

78
08
69

,1

Br

ilt
ul

Fo
Ba
1,
8,

3,

8,
5,
3,

6,
5,
1,

10

Bu
ric
–1

–1

–1
–1



Ag
70
78

65

55
60
69

08
39

47

,1
6,

,8

,2
,5
1,

5,
3,

8,

10

11

15
13

Distance to schools (meters) Landuse types

68 USING ARCGIS SPATIAL ANALYST

chp3.p65 68 02/27/2001, 4:48 PM


The final suitability map is produced by combining all the maps The result would give a Boolean true or false map of locations
together. Weights can be assigned in the Raster Calculator at the that meet or do not meet the criteria.
same time as combining the suitability maps:
For example:
Step 5: Verifying the model’s result
Distance to rec_sites * 0.5 + Distance to schools * 0.25 + Slope * Once you have your result from any spatial analysis, you should
0.125 + Landuse * 0.125 verify that it is correct. This should be done, if possible, by
visiting the potential sites in the field. Often the result you
The result will be a suitability map displaying the best locations achieve has not accounted for something important, for instance,
for the new school. Higher values indicate more suitable there may be a cow barn upwind of the site, producing foul odors,
locations. or by examining the town hall records you may discover a
See Exercise 2 of the quick-start tutorial for how to use Spatial restriction on building on the desired land of which you were not
Analyst to find the best location for the new school. aware. If either is the case, then you will need to add this
See Exercise 3 of the quick-start tutorial for how to use Spatial information to the analysis.
Analyst to find an alternative access road to the new school site.
Step 6: Implementing the result
Querying your data The final step in the spatial model is to implement the result,
The alternative way to find suitable locations for the new school building the new school in the chosen location.
(rather than creating a suitability map) is to query your data. Once
you have created all the datasets you need (slope, distance to
recreation sites, and distance to schools), you can simply query
the data to find the suitable locations. Such a query would be to
find all locations on agricultural land with slopes less than
20 degrees where the distance to recreation sites is less than
1,000 meters and the distance to schools is greater than
4,000 meters.
The above query in the Raster Calculator:
[landuse] == 5 & [Slope] < 20 & [Distance to rec_sites] < 1000 &
[Distance to schools] > 4000

MODELING SPATIAL PROBLEMS 69

chp3.p65 69 02/27/2001, 4:48 PM


chp3.p65 70 02/27/2001, 3:58 PM

You might also like