introduction to geographic information systems fall 2013 (inf 385t-28620) dr. david arctur
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 PresentationTRANSCRIPT
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
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
CHOROPLETH MAPSLecture 2
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
5
Choropleth map example Percentage of vacant housing units by
county
INF385T(28620) – Fall 2013 – Lecture 2
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
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
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
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
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
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
U.S. population by state, 2000
12INF385T(28620) – Fall 2013 – Lecture 2
Original map (natural breaks)
Not good because too many values fall into low classes
13INF385T(28620) – Fall 2013 – Lecture 2
Equal interval scale
Shows that an increasing width (geometric) scale is needed
14INF385T(28620) – Fall 2013 – Lecture 2
Quantile scale
Custom geometric scale Experiment with exponential scales with
powers of 2 or 3.
15INF385T(28620) – Fall 2013 – Lecture 2
16
Beware empty statistics
http://xkcd.com/1138
INF385T(28620) – Fall 2013 – Lecture 2
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
18
Nonnormalized dataNumber of vacant housing units by state,
2000
INF385T(28620) – Fall 2013 – Lecture 2
Normalized data
Percentage vacant housing units by state, 2000
19INF385T(28620) – Fall 2013 – Lecture 2
California population by county, 2007
20INF385T(28620) – Fall 2013 – Lecture 2
Nonnormalized data
21INF385T(28620) – Fall 2013 – Lecture 2
California population density, 2007
Normalized data
COLORSLecture 2
22INF385T(28620) – Fall 2013 – Lecture 2
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
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
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
ContrastThe greater the difference in value
between an object and its background, the greater
the contrast
INF385T(28620) – Fall 2013 – Lecture 2 26
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
28
Monochromatic map
Values too similar
INF385T(28620) – Fall 2013 – Lecture 2
29
Monochromatic map
A better map, more contrast
INF385T(28620) – Fall 2013 – Lecture 2
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
31INF385T(28620) – Fall 2013 – Lecture 2
Symmetric break points centered on 0 make it easy to interpret the map
Dichromatic map
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
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
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):
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):
VECTOR & RASTER DATALecture 2
39INF385T(28620) – Fall 2013 – Lecture 2
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
41
Feature attribute tables Store characteristics for vector features Layers can be displayed using
attributes
INF385T(28620) – Fall 2013 – Lecture 2
42
Displaying points Single symbols All CAD calls
INF385T(28620) – Fall 2013 – Lecture 2
Displaying points Same features, different points Based on attributes
INF385T(28620) – Fall 2013 – Lecture 2 43
Displaying points Industry specific (e.g. crime analysis) Good for large scale (zoomed in) maps
INF385T(28620) – Fall 2013 – Lecture 2 44
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
Displaying points Quantities
Use exaggerated sizes
INF385T(28620) – Fall 2013 – Lecture 2 46
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
Displaying linesConsider using dashed lines to signify
lessimportant line features and solid lines for
theimportant ones
INF385T(28620) – Fall 2013 – Lecture 2 48
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
Displaying polygonsConsider using texture for black and
whitecopies
INF385T(28620) – Fall 2013 – Lecture 2 50
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
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
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
INF385T(28620) – Fall 2013 – Lecture 2 54
Graphic hierarchy example
55
Vector – Raster Comparison
INF385T(28620) – Fall 2013 – Lecture 2
56
Vector data example
INF385T(28620) – Fall 2013 – Lecture 2
Bolstad, Fig 2-26a
57
Raster data example 1
INF385T(28620) – Fall 2013 – Lecture 2
58
Raster data example 2
INF385T(28620) – Fall 2013 – Lecture 2
59
Converting between vector & raster
INF385T(28620) – Fall 2013 – Lecture 2
GIS QUERIESLecture 2
60INF385T(28620) – Fall 2013 – Lecture 2
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
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
INF385T(28620) – Fall 2013 – Lecture 2 63
Simple attribute queries
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
INF385T(28620) – Fall 2013 – Lecture 2 65
Compound attribute queries
LAYER GROUPS, SCALE THRESHOLDS
Lecture 2
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
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
69
Map scales
INF385T(28620) – Fall 2013 – Lecture 2
1:5,000 is large scale1:50,000,000 is small scale
Layer groups Organizes layers Groups and names logically
INF385T(28620) – Fall 2013 – Lecture 2 70
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
72
Minimum scale threshold Tracts displayed when zoomed in
INF385T(28620) – Fall 2013 – Lecture 2
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
HYPERLINKS AND MAP TIPSLecture 2
Links images, documents, Web pages, etc. to features on a map
INF385T(28620) – Fall 2013 – Lecture 2 75
Hyperlinks
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
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