Transcript Data

GIS Fundamentals/
Geographic Database Design
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
GIS Concepts
•
•
•
•
•
Information cycle:
• Data/Information/System/Information System
Geographic Information System
• Main Components/Characteristics
Geographic Database
• Data Modeling
• Data Representation
Spatial Analysis
Implementing a GIS
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Information Cycle
(Contexte d’émergence des SIG)
Territory
Data
GIS
Information
DSS
Decision
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Data / Information
•
Information is the result of interpretation of relations
existing between a certain number of single elements
(called data).
•
Example:
The Museum located at 5th Avenue, NY,
was built in 1898.
•
Data: Museum, address, year of construction.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
System
•
A system is a set organized globally and comprising
elements which coordinate for working towards doing a
result.
• Example: Water supply system
Elements: pipes, valves, hydrants, water meters, pumps,
reservoirs, etc.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Information System (IS)
•
An Information System is a set organized globally and
comprising elements (data, logiciel, equipment, procedures,
users) that coordinate for working towards doing a result
(information).
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
GIS:
“G” & “IS”
Definition:
A GIS is a collection of computer hardware and software,
geographic data, methods, and personnel assembled to
capture, store, analyze and display geographically
referenced information in order to resolve complex problems
of management and planning.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
SIG: Système d’Information «Géographique»:
•
Définition:
Un SIG peut être défini comme un ensemble organisé
intégrant le matériel, le logiciel, le personnel, les méthodes
et les données nécessaires pour permettre la saisie, le
stockage, l’analyse et l’affichage de l’information
géoréférencée en vue de résoudre des problèmes
complexes de gestion et de planification.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Geographic Information
Geographic Data
Input
Output
GIS
•Maps
•Census
•Field Data
•RS Data
•Others
Data
Capture
Manipulation
Analysis
Display
Storage
• Reports
• Maps
• Photo.
Products
• Statistics
• Input Data
for models
GIS Components
Other GIS
User
Interface
Models
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
GIS: Main Characteristics
•
Integration of Multiple data:
- Sources
- Scales
- Formats
•
Geographic Database
•
Spatial Analysis
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Data from multiple sources-at multiple scales-in
multiple formats
Census/
Tabular
data
Maps
Picture &
Multimedia
GPS/ air photos/
satellite images
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Referencing map features: Coordinate systems &
map projections
•
To integrate geographic data from many different
sources, we need to use a consistent spatial referencing
system for all data sets
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
The Latitude/Longitude reference system
•
latitude φ : angle from
the equator to the
parallel
•
longitude λ : angle
from Greenwich
meridian
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Map Projections
•
Curved surface of the earth needs to be “flattened” to be
presented on a map: Map Projection
•
Projections are classified according to which properties they
preserve: area, distance, shape and angles,
•
Some distortion is inevitable:
• Less distortion if maps show only small areas, but large if
the entire earth is shown
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
UTM: Universal Transverse Mercator
•
Minimal distortions of area, angles, distance and shape at
large and medium scales
• Very popular for large and medium scale mapping (e.g.,
topographic maps)
•
Cylindrical projection with a
central meridian that is specific
to a standard UTM zone
•
60 zones of longitude around
the world
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Space as an indexing system
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
The concept of cartographic scale
•
Scale is the ratio between distances on a map and the
corresponding distances on the earth’s surface
• e.g., a scale of 1:100,000 means that 1 cm on the map
corresponds to 100,000 cm or 1 km in the real world
•
Small scale: small fraction such as 1:10,000,000 shows only
large features
•
Large scale: large fraction such as 1:25,000 shows great detail
for a small area
• “small scale” vs “large scale” often confused
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Multi-scale
•
The same feature represented in different
scales.
• Example: lake
Large scale
Small scale
(1:25.000)
1:500.000
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Multi-formats
•
•
•
•
•
•
•
Raster
Vector
Raster-VectorRaster
DXF-DGN-etc.
Shapefile
KML
Etc.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Geographic Database
•
Geographic Data
•
•
Characteristics/Examples
Definitions:
•
Entity/Attribute/Dataset/Database
•
Data Modeling
•
Spatial representation
•
Vector/Raster
•
Topology
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Descriptive Data vs Geographic Data
•
Descriptive Data:
• Descriptive attributes
•
Geographic Data:
• Descriptive attributes
•
Spatial attributes
• Location
• Form
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Geographic Data Characteristics :
Position:
explicit geographic reference
 Cartesian coordinates :X,Y,Z
 Geographic coordinates (lat, log)
implicit geographic reference
 Address
 Place-name
 Etc.
Geometric Form:

ex: a polygon representing a parcel of land
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Example1: Parcel of land
•
Attribute (descriptive) Data
• Landowner
• Area
• Etc.
•
Spatial data
• Position
• Located at 100 Nelson Mandela Ave
• X= a; Y=b within system (X,Y)
• Form
• dimensions (sides and arcs, constituting a polygon)
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Example 2: District
•
Attribute (Descriptive) data:
• District-Code
• District-Name
• Population 1990
• Population 2000
• Population 2010
•
Spatial data:
• Geographical Position
• Polygon
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Spatial entity
•
We use the term entity to refer to a phenomenon that can not
be subdivided into like units.
Example: a house is not divisible into houses, but
can be split into rooms.
Others: a lake, a statistical unit, a school, etc.
•
In database management systems, the collection of objects
that share the same attributes.
•
An entity is referenced by a single identifier, perhaps a placename, or just a code number
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Attribute
•
Each spatial entity has one or more attributes that
identify what the entity is, and describe it.
Example: you can categorize roads by whether
they are local roads, highways, etc; by their
length; their width; their pavement; etc.
•
The type of analysis you plan to do depends on the type
of attributes you are working with.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Dataset
“A dataset is a single collection of values or objects without
any particular requirement as to form of organization.”
Example: Streets, rivers, cities, etc.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Geographic Database
•
“A geographic database is a collection of spatial data and
related descriptive data organized for efficient storage,
manipulation and analysis by many users.”
•
It supports all the different types of data that can be used
by a GIS such as:
• Attribute tables
• Geographic features
• Satellite and aerial imagery
• Surface modeling data
• Survey measurements
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Data Modeling
•
Data Modeling is the process of defining (geographic
features) to be included in the database, their attributes
and relationships, and their internal representation in the
Database. It involves the development of conceptual,
logical and physical models of the geographic Database.
•
The outcomes include a Data Dictionary
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Modeling Process
Abstracting the Real World
Reality
Modeling
(data & processing.)
Geographic
Database
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
ANSI/SPARC: Study
Group on Data Base
Management
Systems (1975)
External Model 1
“Real
World”
Different users have different
views of the world
External Model 2
External Model 3
Conceptual Model
Logical Model
Physical Model
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Conceptual Model
•
A synthesis of all external models (user’s views).
•
Schematic representations of phenomena and how they
are related.
•
Information content of the database (not the physical
storage) so that the same conceptual model may be
appropriate for diverse physical implementations.
•
Therefore, the conceptual model is independent from
technology.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Conceptual Model (cont.)
•
Easy to read
•
Conceived for the analyst or designer
•
Objective representation of the reality, therefore
independently from the selected GDB System
•
One conceptual model for the Database
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Data Logical Model & Physical Model
•
We transform the conceptual model into a new modeling
level which is more computing oriented: the logical
model (Example: the Relational Database approach)
•
We transform the logical model into an internal model
(physical model) which is concerned with the byte-level
data structure of the database.
•
Whereas the logical model is concerned with tables and
data records, the physical model deals with storage
devices, file structure, access methods, and locations of
data.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Several types of data organization
• Hierarchical model
- Hierarchical relationships between data(parent- child)
• Network Model
- Focus on connections (e.g. airline booking system)
• Relational model
- Based on relations (tables)- True Relat. DBMS use SQL
• Object-Oriented model
- Focus on Objects
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Entity-relationship Formalism
Entity
Entity name
Attributes
ENTITY_NAME1
-attribute 1
-attribute 2
…
ENTITY_NAME2
-attribute 1
0-1 -attribute 2
…
0-N
Identifier
(key-attribute)
Association
(relationship)
(indeterminable/any number)
Maximum cardinality
Minimum cardinality
(0,N) refers to the cardinality of the
relationship
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
An example of land parcels
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
The E/R diagram for land parcels
STREET
A
-name
2-N
B
SEGMENT
0-1
A: Streets have edges
(segments)
B: parcels have boundaries
(segments)
C: line have two endpoints
D: parcels have owners, and
people own land.
PARCEL
-number
-number
1-2
3-N
2-2
1-N
C
D
2-N
POINT
-number
-x,y
1-N
LANDOWNER
-name
-date-of-birth
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Data Tables
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Data Dictionary
•
Definition:
A data catalog that describes the contents of a database.
Information is listed about each field in the attribute table
and about the format, definitions and structures of the
attribute tables.
A data dictionary is an essential component of metadata
information.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Example
•
•
•
Definition of entities
• RAIL: way of communication and transportation
Definition of attributes
• RAIL-ID: reference numbers for rail segments
• RAIL_CLASS: single track, double track, electrified, etc.
• RAIL_NAME: name for particular railway
Explanations for measurements of attributes (type of attribute
values) or coding practices
• RAIL-ID: INTEGER
• RAIL-NAME: CHARACTER, LONG=30
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Sample components of a digital EA map
Buildings
Street Network
61
27
57
65
40
43
28
349
60
41
42
19
63
21
64
58
59
350
20
58
2
14
15
16
23
362
35
30
29
28
eet
Bonne Str
Street
Robinson
31
41
33
30
50
49
Building numbers
61
57
35
22
65
62
40
Neatlines and legend
31
44
32
63
28
42
60
41
20
21
46
45
1
2
3
27
88
2
83
14
84
85
13
7
12
24
51
15
52
23
53
Bessel Street
4
52
54
33
34
64
58
59
86
22
51
41
42
43
44
47
28
1
40
54
58
45
19
43
50
77
78
9
377
Grinten Street
48
et
Tissot Stre
27
79
Mollweide Street
87
41
Street
43
59
29
Imhof Drive
42
378
377
76
Miller
374
21
20
19
82
81
80
39
34
374
18
ve
Cassini Dri
37
42
32
Goode
33
68
69
70
38
31
32
361
13
362
71
43
27
28
29
12
36
361
22
Street
21
22
23
358
74
73
26
25
67
10
3
4
72
20
Cassini Drive
24
75
11
2
ive
20
17
e
Avenu
21
19
3
18
Lambert Avenue
44
45
19
13
et
or
Mercat
43
51
350
349
12
et
38
5
Dr
358
64
63
Gall Street
ij Stre
Krassowsk
Snyder Stre
42
65
57
Tobler Street
37
62
66
6
et
e Stre
Clark
8
Street
9
1
Ortelius
56
59
10
11
Street
Ptolemy
1
31
61
60
7
41
42
43
44
33
34
55
5
4
Annotation and symbols
32
Eckert Drive
6
Boundaries
45
31
35
22
62
16
11
10
9
25
378
26
8
27
32
34
10
21
33
6
61
1
60
55
6
4
5
7
1
62
31
9
5
66
56
59
10
11
Enumeration Area Map
11
2
8
58
65
64
63
75
67
12
19
13
74
18
2
12
Province:
District:
Locality:
EA-Code:
13
73
72
14
38
20
23
68
71
18
69
43
3
51
17
15
16
21
22
70
44
45
24
76
29
36
26
25
79
20
21
20
19
82
81
80
35
21
19
77
78
28
22
23
Symbols
10
3
4
57
37
42
Cartania
Chartes
Maptown
14
032
0221
00361
District
27
37
30
29
28
27
28
29
43
1
38
31
88
32
31
39
30
86
41
EA
N
84
85
13
40
34
2
14
33
41
83
87
42
32
33
7
17
12
24
42
43
48
49
51
50
50
15
52
23
10
11
9
8
44
54
59
47
46
45
1
2
3
26
25
22
51
27
32
34
10
21
EA-Code
Hospital
Church
School
Approximate scale
16
4
52
9
Building
number
53
58
54
358
Locality
33
Enumeration Area Map
Province:
District:
Locality:
EA-Code:
Cartania
Chartes
Maptown
0
Symbols
14
032
0221
00361
District
358
EA-Code
50
100
200m
Census 2000
National Statistical Office - July 1998
Locality
EA
N
17
Building
number
Hospital
Church
School
Approximate scale
Census
2000
National Statistical Office July 1998
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
EA database entities
Street
EA
Admin. Unit
EA-code
Area
Pop.
AU
AU_Pop.
---
Number
Name
--Buildings
Crew leader area
Landmark
CL-code
Name
RO responsible
------
Number
HHs
Etc.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Example of Relations
EA entity can be linked to the entity crew leader area. The table for this entity
could have attributes such as the name of the crew leader, the regional office
responsible, contact information, and the crew leader code (CL code) as primary
code, which is also present in the EA entity.
R
EA
EA-code
Area
Pop.
1-1
Crew leader area
1-N
CL-code
Name
RO responsible
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Entity: Enumeration areas
Type (attributes)
EA-code
Area
Pop.
50101
50102
50103
50104
50201
50202
50203
50204
…
28.5
20.2
18.1
22.4
19.3
17.6
25.7
26.8
…
988
708
590
812
677
907
879
591
…
CL-code
78
78
78
78
79
79
79
79
Identifier
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Components of a digital EA database
Boundary database
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
A Simpler Alternative
•
In many countries, EA map design may be simpler than in
this example
•
Instead of a fully integrated digital base map in vector
format, rasterized images of topographic maps may be
used as a backdrop for EA boundaries
•
In some instances, map features may be more
generalized, for instance by using only the centerlines for
the streets and polygons for entire city blocks rather than
for individual houses
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Data Representation
Raster
Vector
Real World
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Two Fundamental Types of Data
•
•
•
GIS work with two fundamentally different types of
geographic information
• Vector
• Raster (or Grid)
Both types have unique advantages and disadvantages
A GIS should be able to handle both types
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Vector Data
•
•
Vector data are stored as a series of x,y
coordinates
Good for discrete data representation
• points: wells, town centroids
• lines: roads, rivers, contours
• polygons: enumeration areas,
districts, town boundaries, building
footprints
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Raster Data
•
•
•
A raster image is a collection of grid cells - like a
scanned map or picture
Raster data is extremely useful for continuous data
representation
• elevation
• slope
• modeling surfaces
Satellite imagery and aerial photos are commonly used
raster data sets
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Vector vs Raster or Discrete vs Continuous
Raster
Vector
River
x1,y1
xn,yn
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Raster-Vector conversion (“vectorization”)
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Vector data
+
image (raster)
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Vector: Points, lines, polygons
Set of geometric primitives:
•
points
lines
polygons
y
node
vertex
x
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Vector Structure
•
Spaghetti
•
Topology
1
2 3
8
7 6
5
Spaghetti
4
1
2
4
3
Topology
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Spaghetti File
No Topology = raw file or ‘spagehetti file’
Lines not connected; have no ‘intelligence’
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Example of “Spaghetti” data structure
6
Poly
coordinates
A
(1,4), (1,6), (6,6), (6,4), (4,4), (1,4)
B
(1,4), (4,4), (4,1), (1,1), (1,4)
C
(4,4), (6,4), (6,1), (4,1), (4,4)
A
5
4
3
2
1
B
1
2
C
3 4 5
6
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Topology
•
Data structure in which each point, line and piece or whole
of a polygon :
• “knows” where it is
• “knows” what is around it
• “understands” its environment
• “knows” how to get around
Helps answer the question what is where?
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Topology: Spatial Relationships
Left Polygon = A
Right Polygon = B
Adjacency
Node 1 = Chains
A,B,C
Chain A is
connected to
chains B & C
Connectivity
Polygon B
Contained within
polygon A
Containment
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Example of Topological data structure
1
6
5
4
3
A
I
II
4
2
1
III
5
B
6
IV
2
3
1
2
Node
I
II
III
IV
C
4 5
3
6
O = “outside” polygon
X
1
4
6
4
Y Lines
4 1,2,4
4 4,5,6
4 1,3,5
1 2,3,6
From
Line
Node
1
I
2
I
3
III
4
I
5
II
6
II
Poly
A
B
C
To
Left
Node Poly
III
O
IV
B
IV
O
II
A
III
A
IV
C
Lines
1,4,5
2,4,6
3,5,6
Right
Poly
A
O
C
B
C
B
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Encoding Topology (not): CAD
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Encoding Topology: GIS
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Comparison
Advantages:
Spaghetti
-Set of independent
objects
- Representation of
heterogonous objects
within the same model
-Appropriate to CAD
Topology
-Pre-calculation of
topological relations
-Maintenance of topological
constraints
- correspondence with
exchange formats
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
…cont.
Disadvantages:
Spaghetti
-Spatial Relationships
calculated
- Risk of incoherence
(duplication of common
boundaries)
Topology
-High cost of up-to-date
-Many levels of indirections
for complex objects
-Maintenance
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Some well known Topological models
TIGER: Topologically Integrated Geographic Encoding and Referencing
(Census Bureau of the USA)
Line is the principal element to which are related points and area features
ARC/INFO model: ESRI
Point, Line, Polygon
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
TIGER Data: Polygon
Cities
Census
MCD’s
Zip
Codes
Counties
Block
Voting
Tracts
Groups
Districts
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
TIGER Data: Line
Railroads
Streets
Streams
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
TIGER Data: Point
Zip+4
Key
Place
Landmarks
Locations
Names
Centroids
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Recapitulation on spatial models
•
Transformations between models:
• “vectorization” of raster images (costly)
• topology toward spaghetti (easy)
• spaghetti toward topology (possible but costly)
•
The vector model most used, essentially topology; it’s useful
to integrate raster and vector
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Spatial Analysis
•
select features by their attributes:
• “find all districts with literacy rates < 60%”
•
select features by geographic relationships
• “find all family planning clinics within this district”
•
combined attributes/geographic queries
• “find all villages within 10km of a health facility that have
high child mortality”
Query operations are based on the SQL (Structured
Query Language) concept
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Examples (query):
What is
at…?
Features that
meet a set of
criteria
Id
0012376027
Name
Population
Popdens
Num_H
H
Clinics
Limop
31838
37.5
8719
8
Population density
greater than 100
persons/sqkm?
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Spatial Analysis (cont.)
•
Buffer: find all settlements that are more than 10km from
a health clinic
•
Point-in-polygon operations: identify for all villages
into which vegetation zone they fall
•
Polygon overlay: combine administrative records with
health district data
•
Network operations: find the shortest route from village
to hospital
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Modeling/Geoprocessing
•
modeling: identify or predict a process that has created or
will create a certain spatial pattern
•
•
•
diffusion: how is the epidemic spreading in the
province?
interaction: where do people migrate to?
what-if scenarios: if the dam is built, how many people
will be displaced?
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
“is nearest to”
• Point/point
• Which family planning clinic is
closest to the village?
• Point/line
•Which road is nearest to the
village
• Same with other combinations of
spatial features
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
“is nearest to”: Thiessen Polygons
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
“is near to”: Buffer Operations
•
Point buffer
•
Affected area around a polluting facility
•
Catchment area of a water source
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Buffer Operations
•
Line buffer
•
How many people live near the polluted river?
•
What is the area impacted by highway noise
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Buffet Operations
•
Polygon buffer
•
Area around a reservoir where development
should not be permitted
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
“ is within”: point in polygon
•
Which of the cholera cases are within the
containment area
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Problem:
We may have a set of point coordinates representing
clusters from a demographic survey and we would like to
combine the survey information with data from the
census that is available by enumeration areas.
Solution:
“Point-in-Polygon” operation will identify for each point
the EA area into which it falls and will attach the census data
to the attribute record of that survey point.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Polygon Overlay
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
“overlaps”: Polygon overlay
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Data Layers
A
d m
in is t r a t iv e
u n i t s
E
le v a t i o n
B
u i ld in g s
H
y d r o lo g y
R
o a d s
V e g e t a t io n
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Spatial aggregation
•
Example of Spatial aggregation:
• fusion of many provinces constituting an
economic region
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Spatial data transformation: interpolation
Example 1: Based on a set of station precipitation surface
estimates, we can create a raster surface that shows
rainfall in the entire region
13.5
20.1
12.7
26.0
27.2
15.9
24.5
26.1
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
GIS capabilities:
Visualization
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Implementing a GIS
•
•
•
•
•
•
•
•
•
•
Consider the strategic purpose
Plan for the planning
Determine technology requirements
Determine the end products
Define the system scope
Create a data design
Choose a data model
Determine system requirements
Analyze benefits and costs
Make an implementation plan
Source: Thinking About GIS, Third Edition
Geographic Information System Planning for Managers
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
GIS:
Enables us to handle very large amounts of data
•
•
Example: census data
– thousands of EAs
– hundreds of variables
– many complementary data layers
(roads, rivers, public facilities)
Example: remote sensing
– satellites send huge amounts of data
that need to be processed, interpreted
and stored
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
GIS:
Helps to make data re-usable and useful to
many more users
•
Census geography
– EA maps do not have to be redrawn
every time, only updated
– census information can be used for
many more applications
– data sharing among agencies
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
In Conclusion
•
GIS for inventory/visualization
• GIS creates maps from data pulled from databases
anytime to any scale for anyone
•
GIS for database management
•
GIS for spatial analysis/modeling
• GIS a tool to query, analyze, and map data in support
of the decision making process.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
What is Not GIS
•
GPS – Global Positioning System
•
…not just software!
•
…not just for making maps!
• Maps are an input data to and a “product” of a GIS
• A way to visualize the analysis
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Literature related to Census Mapping & GIS
•
•
•
•
US National Research Council:
• Tools and Methods for Estimating
Populations At Risk
David Martin (1996)
• Geographic Information Systems:
Socioeconomic Applications
Longley and al, Wiley (2005)
• Geographic Information Systems and
Science, second edition
ESRI Press:
• Unlocking the Census with GIS
• Mapping the Census 2000
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Merci pour votre attention
Contact Information:
Demographic Statistics Section
UN Statistics Division
New York
[email protected]
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Compromise projections
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Vector to Raster Conversion: Polygons
b
a
c
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Vector to Raster Conversion: Lines
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Raster to Vector Conversion: Polygons
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Raster to Vector Conversion: Polygons
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Spatial Operations
•
“adjacent to”
•
“connected to”
•
“near to”
•
“intersects with”
•
“within”
•
“overlaps”
•
etc.
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007
Spatial relationships
•
Logical connections between spatial objects represented
by points, lines and polygons
•
e.g.,
- point-in-polygon
- line-line
- polygon-polygon
Atelier regional sur l’organisation et la cartographie des recensements, Rabat, Maroc,
12-16 novembre 2007