of 27
8/14/2019 Harvard Government 90dn Lecture 3
1/27
Government 90dnMapping the Census
Lecture 3: More on GIS; Spatial Data
Structures;TIGER
Sumeeta Srinivasan
Reference: Unlocking the Census, Ch 2; TIGER documentation www.census.gov;
Introduction to GIS (Huxhold); Geographic Information Systems and Science,Longley, Goodchild, et al.
mailto:[email protected]://www.census.gov/http://www.census.gov/mailto:[email protected]8/14/2019 Harvard Government 90dn Lecture 3
2/27
Outline
What is GIS?GIS Data types
Raster vs Vector
Data structures
TIGER data structure for address matching
8/14/2019 Harvard Government 90dn Lecture 3
3/27
Geographic InformationMultidimensional
Has volume
Requires projection to flat surface
Analyses require data integrationUnique analysis methods
8/14/2019 Harvard Government 90dn Lecture 3
4/27
Geographic Information System
(Definitions)
Container of mapsComputerized tools for solving geographic
problems
Mechanized inventory of geographically
distributed features and facilities
Method for revealing patterns andprocesses in geographic information
8/14/2019 Harvard Government 90dn Lecture 3
5/27
Geographic Information System
Container of maps
8/14/2019 Harvard Government 90dn Lecture 3
6/27
8/14/2019 Harvard Government 90dn Lecture 3
7/27
Geographic Information System
Mechanized inventory of geographicallydistributed features and facilities
8/14/2019 Harvard Government 90dn Lecture 3
8/27
8/14/2019 Harvard Government 90dn Lecture 3
9/27
Geographic Information System
Computerized tools for solving geographicproblems
8/14/2019 Harvard Government 90dn Lecture 3
10/27
dotdgis.dotd.louisiana.gov
dotdgis.dotd.louisiana.gov/website/GIS-T2006.ppt
8/14/2019 Harvard Government 90dn Lecture 3
11/27
Geographic Information System
Method for revealing patterns andprocesses in geographic information
8/14/2019 Harvard Government 90dn Lecture 3
12/27
Spills in Boston, Cambridge, Somerville
Hazardous
and Oil Spills
Center
(close to intersection
of Main and Portland
in Cambridge)
Directional
Ellipse forSpills
Mean
Population
WeightedCenter
(close to
intersection of
Fenway andForsyth in Boston)
Directional
Ellipse for
Population
8/14/2019 Harvard Government 90dn Lecture 3
13/27
Geographic Information System
(Definitions)
Container of mapsComputerized tools for solving geographic
problems
Mechanized inventory of geographically
distributed features and facilities
Method for revealing patterns andprocesses in geographic information
8/14/2019 Harvard Government 90dn Lecture 3
14/27
8/14/2019 Harvard Government 90dn Lecture 3
15/27
GIS Data Models
Discretize Geographical Realityfield view (regions) vs. object view (objects in aplane)
Data Model implies spatial sampling andspatial errors
8/14/2019 Harvard Government 90dn Lecture 3
16/27
Rasters and Vectors
How to digitally represent phenomenaconceived as fields or discrete objects?
Field View: Raster
Object View: Vector
8/14/2019 Harvard Government 90dn Lecture 3
17/27
Real World
8/14/2019 Harvard Government 90dn Lecture 3
18/27
Raster vs VectorData Structure
0 1 2 3 4 5 6 7 8 9
0 R T
1 R T
2 H R
3 R
4 R R
5 R
6 R T T H
7 R T T
8 R
9 R
Raster Representation
line
polygon
point
Vector Representation
8/14/2019 Harvard Government 90dn Lecture 3
19/27
Lab Exercise 2
Step by step creation of data structuresPoint, line and polygon tables
Topology tables
8/14/2019 Harvard Government 90dn Lecture 3
20/27
Topology in Data StructuresDefined as the spatial relationships between
neighboring featuresImplemented within data structure by defining:
connectivity: Which arcs meet at a node?
area definition: Which arcs make up the
polygon?
contiguity: Which polygons are on the left andright?
8/14/2019 Harvard Government 90dn Lecture 3
21/27
Lab Exercise 1
How to use TIGER data to match up Tuscaloosaschool addresses?
8/14/2019 Harvard Government 90dn Lecture 3
22/27
TIGER FilesLinesstreets, railroads, rivers
Areaszip codes, census blocks, tracts, places, counties, etc.
Pointslandmarks such as churches, schools, and other cultural
features represented in TIGER as points
8/14/2019 Harvard Government 90dn Lecture 3
23/27
Linear Address Matching (Streets)Urban street maps
Four street address numbers ranging from low to high for
each side of a street segment.
Left_from Left_to Right_from Right_to Street_name Type
101 199 100 198 OAK ST
0105
0107
100 198
101 199
Oak St.
(80.731, 40.025) (80.729, 40.025)
8/14/2019 Harvard Government 90dn Lecture 3
24/27
Address Matching Major Steps
1437
402
855
123 Oak St
333 Pine Av
18 Bay Dr
A
A
B
ID Address Class
Schools file
8/14/2019 Harvard Government 90dn Lecture 3
25/27
Address Matching Major Steps1437
402
855
123 Oak St
333 Pine Av
18 Bay Dr
A
A
B
ID Address Class
Schools
98
99
198
199
Oak
Oak
Oak
Oak
R
L
R
L
O
E
E
O
To Street Side ParityFrom
1
100
101
2
Type
St
St
St
St
Attributes of Streets
Street_
5950
5950
6011
6011
8/14/2019 Harvard Government 90dn Lecture 3
26/27
Address Matching Major Steps1437
402
855
123 Oak St
333 Pine Av
18 Bay Dr
A
A
B
StoreID Address Class
schools
98
99
198
199
Oak
Oak
Oak
Oak
R
L
R
L
O
E
E
O
To Street Side ParityFrom
1
100
101
2
Type
St
St
St
St
Attributes of Streets
Street_
5950
5950
6011
6011
5950 6011Oak St
PineAv
100
101
198
199123
8/14/2019 Harvard Government 90dn Lecture 3
27/27
Converting GeoreferencesGIS applications often require transforming
data so that they line upThese are standard functions in popular GIS
packages
Street addresses must be converted to
coordinates for mapping and analysis
Usinggeocoding functions