introduction to geographic information systems fall 2013 (inf 385t-28620) dr. david arctur

74
Introduction to Geographic Information Systems Fall 2013 (INF 385T-28620) Dr. David Arctur Research Fellow, Adjunct Faculty University of Texas at Austin Lecture 2 Sept 5, 2013 Map Design

Upload: hedy

Post on 22-Feb-2016

40 views

Category:

Documents


0 download

DESCRIPTION

Introduction to Geographic Information Systems Fall 2013 (INF 385T-28620) Dr. David Arctur Research Fellow, Adjunct Faculty University of Texas at Austin Lecture 2 Sept 5, 2013 Map Design. Outline. Choropleth maps Colors Vector GIS display GIS queries Map layers and scale thresholds - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Introduction to Geographic Information Systems Fall 2013 (INF 385T-28620)

Dr. David ArcturResearch Fellow, Adjunct Faculty

University of Texas at Austin

Lecture 2Sept 5, 2013

Map Design

Page 2: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Outline Choropleth maps Colors Vector GIS display GIS queries Map layers and scale thresholds Hyperlinks and map tips

INF385T(28620) – Fall 2013 – Lecture 2 2

Page 3: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

CHOROPLETH MAPSLecture 2

Page 4: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Choropleth maps Color-coded polygon maps Use monochromatic scales or saturated

colors Represent numeric values (e.g.

population, number of housing units, percentage of vacancies)

INF385T(28620) – Fall 2013 – Lecture 2 4

Page 5: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

5

Choropleth map example Percentage of vacant housing units by

county

INF385T(28620) – Fall 2013 – Lecture 2

Page 6: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Classifying dataProcess of placing data into groups

(classes orbins) that have a similar characteristic or

value Break points

Breaks the total attribute range up into these intervals

Keep the number of intervals as small as possible (5-7)

Use a mathematical progression or formula instead of picking arbitrary valuesINF385T(28620) – Fall 2013 – Lecture 2 6

Break points

Page 7: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Classifications Natural breaks (Jenks)

Picks breaks that best group similar values together naturally and maximizes the differences between classes

Generally, there are relatively large jumps in value between classes and classes are uneven

Based on a subjective decision and is the best choice for combining similar values

Class ranges specific to the individual dataset, thus it is difficult to compare a map with another map

INF385T(28620) – Fall 2013 – Lecture 2 7

Page 8: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Classifications Quantiles

Places the same number of data values in each class

Will never have empty classes or classes with too few or too many values

Attractive in that this method produces distinct map patterns

Analysts use because they provide information about the shape of the distribution.

Example: 0–25%, 25%–50%, 50%–75%,75%–100%

INF385T(28620) – Fall 2013 – Lecture 2 8

Page 9: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Classifications Equal intervals

Divides a set of attribute values into groups that contain an equal range of values

Best communicates with continuous set of data

Easy to accomplish and read Not good for clustered data

Produces map with many features in one or two classes and some classes with no features

INF385T(28620) – Fall 2013 – Lecture 2 9

Page 10: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

10

Classifications

Use mathematical formulas when possible.

Exponential scales Popular method of increasing intervals Use break values that are powers such as

2n or 3n

Generally start out with zero as an additional class if that value appears in your data

Example: 0, 1–2, 3–4, 5–8, 9–16, and so forth

INF385T(28620) – Fall 2013 – Lecture 2

Page 11: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

11

Classifications

Use mathematical formulas when possible

Increasing interval widths Long-tailed distributions Data distributions deviate from a bell-

shaped curve and most often are skewed to the right with the right tail elongated

Example: Keep doubling the interval of each category, 0–5, 5–15, 15–35, 35–75 have interval widths of 5, 10, 20, and 40.

INF385T(28620) – Fall 2013 – Lecture 2

Page 12: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

U.S. population by state, 2000

12INF385T(28620) – Fall 2013 – Lecture 2

Original map (natural breaks)

Page 13: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Not good because too many values fall into low classes

13INF385T(28620) – Fall 2013 – Lecture 2

Equal interval scale

Page 14: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Shows that an increasing width (geometric) scale is needed

14INF385T(28620) – Fall 2013 – Lecture 2

Quantile scale

Page 15: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Custom geometric scale Experiment with exponential scales with

powers of 2 or 3.

15INF385T(28620) – Fall 2013 – Lecture 2

Page 16: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

16

Beware empty statistics

http://xkcd.com/1138

INF385T(28620) – Fall 2013 – Lecture 2

Page 17: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Divides one numeric attribute by another in order to

minimize differences in values based on the size of

areas or number of features in each area Examples: Dividing the number of vacant housing units

by the total number of housing units yields the percentage of vacant units

Dividing the population by area of the feature yields a population density

17INF385T(28620) – Fall 2013 – Lecture 2

Normalizing data

Page 18: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

18

Nonnormalized dataNumber of vacant housing units by state,

2000

INF385T(28620) – Fall 2013 – Lecture 2

Page 19: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Normalized data

Percentage vacant housing units by state, 2000

19INF385T(28620) – Fall 2013 – Lecture 2

Page 20: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

California population by county, 2007

20INF385T(28620) – Fall 2013 – Lecture 2

Nonnormalized data

Page 21: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

21INF385T(28620) – Fall 2013 – Lecture 2

California population density, 2007

Normalized data

Page 22: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

COLORSLecture 2

22INF385T(28620) – Fall 2013 – Lecture 2

Page 23: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

23

Hue is the basic color

Value is the amount of white or black in the color

Saturation refers to a color scale that ranges from a pure hue to gray or black

INF385T(28620) – Fall 2013 – Lecture 2

Color overview

Page 24: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

24

Device that provides guidance in choosing colors

Use opposite colors to differentiate graphic features

Three or four colors equally spaced around the wheel are good choices for differentiating graphic features

Use adjacent colors for harmony, such as blue, blue green, and green or red, red orange, and orange

INF385T(28620) – Fall 2013 – Lecture 2

Color wheel

Page 25: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Light colors associated with low values Dark colors associated with high values Human eye is drawn to dark colors

INF385T(28620) – Fall 2013 – Lecture 2 25

Light vs. dark colors

Page 26: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

ContrastThe greater the difference in value

between an object and its background, the greater

the contrast

INF385T(28620) – Fall 2013 – Lecture 2 26

Page 27: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

27

Monochromatic color scale Series of colors of the same hue with

color value varied from low to high Common for choropleth maps The darker the color in a

monochromatic scale, the more important the graphic feature

Use more light shades of a hue than dark shades in monochromatic scales The human eye can better differentiate

among light shades than dark shades

INF385T(28620) – Fall 2013 – Lecture 2

Page 28: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

28

Monochromatic map

Values too similar

INF385T(28620) – Fall 2013 – Lecture 2

Page 29: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

29

Monochromatic map

A better map, more contrast

INF385T(28620) – Fall 2013 – Lecture 2

Page 30: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

30

An exception to the typical monochromatic scale used in most choropleth maps

Two monochromatic scales joined together with a low color value in the center, with color value increasing toward both ends

Uses a natural middle point of a scale, such as 0 for some quantities (profits and losses, increases and decreases)

INF385T(28620) – Fall 2013 – Lecture 2

Dichromatic color scale

Page 31: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

31INF385T(28620) – Fall 2013 – Lecture 2

Symmetric break points centered on 0 make it easy to interpret the map

Dichromatic map

Page 32: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

32

Color tips Colors have meaning

Political and cultural Cool colors

Calming Appear smaller Recede

Warm colors Exciting Overpower cool colors

INF385T(28620) – Fall 2013 – Lecture 2

Page 33: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

33

Do not use all of the colors of the color spectrum, as seen from a prism or in a rainbow, for color coding

If you have relatively few points in a point layer, or if a user will normally be zoomed in to view parts of your map, use size instead of color value to symbolize a numeric attribute

INF385T(28620) – Fall 2013 – Lecture 2

Color tips

Page 34: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

34

Graphics for colorblind users

INF385T(28620) – Fall 2013 – Lecture 2

Two-meter air temperature anomalies (i.e., differences from the 1971–2000 mean) for January 1998 (during a recent El Niño):

Page 35: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

35

Graphics for colorblind users

INF385T(28620) – Fall 2013 – Lecture 2

Two-meter air temperature anomalies (i.e., differences from the 1971–2000 mean) for January 1998 (during a recent El Niño):

Page 36: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

VECTOR & RASTER DATALecture 2

39INF385T(28620) – Fall 2013 – Lecture 2

Page 37: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

40

Points, lines, polygons Point

x,y coordinates Line

starting and ending point and may have additional shape vertices (points)

Polygon three or more lines joined to form a closed

area

INF385T(28620) – Fall 2013 – Lecture 2

Page 38: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

41

Feature attribute tables Store characteristics for vector features Layers can be displayed using

attributes

INF385T(28620) – Fall 2013 – Lecture 2

Page 39: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

42

Displaying points Single symbols All CAD calls

INF385T(28620) – Fall 2013 – Lecture 2

Page 40: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Displaying points Same features, different points Based on attributes

INF385T(28620) – Fall 2013 – Lecture 2 43

Page 41: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Displaying points Industry specific (e.g. crime analysis) Good for large scale (zoomed in) maps

INF385T(28620) – Fall 2013 – Lecture 2 44

Page 42: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Displaying points Industry specific (e.g. schools)

Not good for multiple features at smaller scales

Simple points better for analysis

INF385T(28620) – Fall 2013 – Lecture 2 45

Page 43: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Displaying points Quantities

Use exaggerated sizes

INF385T(28620) – Fall 2013 – Lecture 2 46

Page 44: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Displaying linesFor analytical maps, most lines are

groundfeatures and should be light shades (e.g.

grayor light brown)

INF385T(28620) – Fall 2013 – Lecture 2 47

Page 45: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Displaying linesConsider using dashed lines to signify

lessimportant line features and solid lines for

theimportant ones

INF385T(28620) – Fall 2013 – Lecture 2 48

Page 46: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Displaying polygonsConsider using no outline or dark gray forboundaries of most polygons

Dark gray makes the polygons prominent enough, but not so much that they compete for attention with more important graphic features

INF385T(28620) – Fall 2013 – Lecture 2 49

Page 47: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Displaying polygonsConsider using texture for black and

whitecopies

INF385T(28620) – Fall 2013 – Lecture 2 50

Page 48: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Assign bright colors (red, orange, yellow, green, blue) to important graphic elements

Features are known as figure

All features in figure

INF385T(28620) – Fall 2013 – Lecture 2 51

Graphic hierarchy

Page 49: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Assign drab colors to the graphic elements that provide orientation or context, especially shades of gray

Features known as ground

Circles in figure, squares and lines in ground

INF385T(28620) – Fall 2013 – Lecture 2 52

Graphic hierarchy

Page 50: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Place a strong boundary, such as a heavy black line, around polygons that are important to increase figure

Use a coarse, heavy cross-hatch or pattern to make some polygons important, placing them in figure

INF385T(28620) – Fall 2013 – Lecture 2

Graphic hierarchy

53

Page 51: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

INF385T(28620) – Fall 2013 – Lecture 2 54

Graphic hierarchy example

Page 52: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

55

Vector – Raster Comparison

INF385T(28620) – Fall 2013 – Lecture 2

Page 53: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

56

Vector data example

INF385T(28620) – Fall 2013 – Lecture 2

Bolstad, Fig 2-26a

Page 54: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

57

Raster data example 1

INF385T(28620) – Fall 2013 – Lecture 2

Page 55: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

58

Raster data example 2

INF385T(28620) – Fall 2013 – Lecture 2

Page 56: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

59

Converting between vector & raster

INF385T(28620) – Fall 2013 – Lecture 2

Page 57: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

GIS QUERIESLecture 2

60INF385T(28620) – Fall 2013 – Lecture 2

Page 58: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

61

Powerful relationship between data table and vector-based graphics—unique to GIS

Records from a feature attribute table are selected by using query criteria

Query will automatically highlight the corresponding graphic features

INF385T(28620) – Fall 2013 – Lecture 2

GIS queries

Page 59: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

62

Simple query criterion <data attribute>< logical operator><value> NatureCode ='DRUGS' DATE >= '20040701'

% wild card % symbol stands for zero, one, or more

characters of any kind NAME like ' BUR%' Selects any crime with names starting with

the letters BUR, including burglaries (BUR), business burglaries(BURBUS), and residential burglaries (BURRES)

INF385T(28620) – Fall 2013 – Lecture 2

Simple attribute queries

Page 60: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

INF385T(28620) – Fall 2013 – Lecture 2 63

Simple attribute queries

Page 61: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

64

Compound query criteria Combine two or more simple queries with the

logical connectives AND or OR "NATURE_COD" = 'DRUGS' AND "DATE" >

20040801 Selects records that satisfy both criteria

simultaneously Result are drug crimes that were committed

after August 1, 2004

INF385T(28620) – Fall 2013 – Lecture 2

Compound attribute queries

Page 62: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

INF385T(28620) – Fall 2013 – Lecture 2 65

Compound attribute queries

Page 63: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

LAYER GROUPS, SCALE THRESHOLDS

Lecture 2

Page 64: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

67

First: What is Scale?

Q. What does it mean when a map says Scale 1:2 million

(1 inch on map = 2 million inches on land)Q. How about Scale 1:63,360

(1 inch = 1 mile) (5280 ft x 12 in/ft = 63,360 in)

Q. How about Scale 1:1

(actual size)INF385T(28620) – Fall 2013 – Lecture 2

Page 65: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

68

Large Scale vs. Small ScaleWhich is larger scale:

zoomed in (small areas appear large) or zoomed out (large areas appear small)?

Which is larger: 1/400 or 1/20,000?Which is larger scale? 1:400 or 1:20,000?

When we say Scale 1:n, what we’re saying is that each feature on the map is 1/n of its real size.So small denominator = LARGE scale (zoomed in)and large denominator = SMALL scale (zoomed out)

INF385T(28620) – Fall 2013 – Lecture 2

Page 66: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

69

Map scales

INF385T(28620) – Fall 2013 – Lecture 2

1:5,000 is large scale1:50,000,000 is small scale

Page 67: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Layer groups Organizes layers Groups and names logically

INF385T(28620) – Fall 2013 – Lecture 2 70

Page 68: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

71

Minimum scale threshold When zoomed out beyond this scale,

features will not be visible Tracts not visible when zoomed to the USA

INF385T(28620) – Fall 2013 – Lecture 2

Page 69: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

72

Minimum scale threshold Tracts displayed when zoomed in

INF385T(28620) – Fall 2013 – Lecture 2

Page 70: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

73

Maximum scale threshold When zoomed in, features will not be

visible State population will disappear when

zoomed in to a state

INF385T(28620) – Fall 2013 – Lecture 2

Page 71: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

HYPERLINKS AND MAP TIPSLecture 2

Page 72: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Links images, documents, Web pages, etc. to features on a map

INF385T(28620) – Fall 2013 – Lecture 2 75

Hyperlinks

Page 73: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

76

Map tips Provide an additional way to find

information about map features Pop up as you hover the mouse pointer

over a feature

INF385T(28620) – Fall 2013 – Lecture 2

Page 74: Introduction to Geographic Information Systems  Fall 2013  (INF 385T-28620) Dr. David Arctur

Summary Choropleth maps Colors Vector GIS display GIS queries Map layers and scale thresholds Hyperlinks and Map tips

INF385T(28620) – Fall 2013 – Lecture 2 77