Lecture 18-20
Lecture 18-20
History
In 1832, the French geographer Charles Picquet
represented the 48 districts of the city of Paris by
halftone color gradient according to the number of
deaths by cholera per 1,000 inhabitants.
Present day Google Map, ARC Info, QGIS are highly evolved in terms of all
main functionalities
1
4/5/2019
•The operations (and queries) which one might like to apply to spatial data are
often very different to those applied to non-spatial data.
2
4/5/2019
In order to enable spatial data manipulation and results, a GIS must include the
following characteristics, based on the above components:
a. A database management system (DBMS)
b. Analysis capability
c. Spatial geo-referencing
d. Graphics input and output
Related types of mapping software may have some but not all of these
capabilities:
CAD: Computer Assisting Drawing, e.g. AutoCad, Microstation c, d
GDS: Graphic Design System, e.g. CorelDraw, Illustrator d
DBMS: Database Management System, e.g. Oracle, Sybase a
DIPS: Digital Image Processing System, e.g. PCI, Erdas b, c, d
GPS: Global Positioning Systems, e.g. Garmin, Trimble c, d
1. Data Capture
2. Relating information from different sources
3. Projection & registration
4. Data integration
5. Data Structure
6. Data Modeling
3
4/5/2019
b. Condition
WHERE are specific conditions -
Examples : "Where does it rain 250 cm per year ?" or where are all houses owned by
person x?
c. Trends
WHAT HAS CHANGED (over time) -
Examples : "How far has the river bank receded in the past 2 years ?"
Areas harvested between then and now, houses increased in price by > 50%.
d. Patterns
HOW are patterns related
Examples : "How does proximity to Hostel 2 affect the number of Leopard attacks";
Harvested watersheds and stream water quality, traffic accidents and road surfaces.
e. Modelling
WHAT IF ..? -
Examples : Geo-statistics- Ore Reserve Estimation
What if the climate warmed by 2 degrees? (effect on habitats)
4
4/5/2019
The Spatial database can be divided into as many layers as is necessary, where
each layer contains one characteristic such as soils, land use, drainage, etc. The
layers 'overlay' each other perfectly (as a result of georeferencing) and enabling
analysis between layers.
Attribute Data
5
4/5/2019
6
4/5/2019
Point
a. Points: Arc
have no length or area at the given scale have a single
X, Y coordinate represent a feature that is too small to
be displayed as a line or area in the given scale.
b. Lines / Arcs:
have length but too narrow for width to be shown, e.g. a
creek, small road are accompanied by a set of linked
coordinates
Polygon
c. Areas (polygons):
have an area that is given by the lines (arcs) that make
the boundary. They are used to represent features that
have area (e.g. lakes, large cities and islands)
7
4/5/2019
Raster Vector
Location is referenced by a grid cell Location is referenced by x,y coordinates,
in rectangular array which can be linked to form lines or polygons
in rectangular array
Geo dataset:
What is Topology ?
Uses:
Stores data more efficiently,
Data processing is faster
Because of topological relations only flow
modeling / network analysis/ overlaying of
Geographic features are possible.
8
4/5/2019
-The topological data structure logically determines exactly how and where
points and lines connect on a map by means of nodes (defines topological
junctions).
Polygons
A polygon consists of a series of arcs enclosing an area because arcs have
directional information, the data structures store “inside” versus “outside” data
of each polygon.
9
4/5/2019
1. Connectivity
- information about linkages among spatial elements
- example: arcs are connected to others at nodes
-identifies possible routes and networks – rivers and roads – via lists of arcs in
database.
2.Containment
-information about one spatial object inside another
-example: enclosed polygon has measurable
Area
3.Contiguity/Adjacency
-information about neighborhood among spatial objects – adjacent and proximity
(near)
-adjacency of polygons determined by shared arcs
Only the above 3 functionalities Allows answering of questions and queries
in GIS:
1. From point A, how can I get to point B using the city road system ?
2. What is the total area of all residential housing ?
3. Which residential areas are next to parks?
-storing the adjacency info in the form of identifiers of polygons left and right of
arcs removes the need to duplicate storage of the line data.Boundaries that are
shared are digitized and stored only once.
10
4/5/2019
and attribute data are stored using relational or tabular data structure
Linkages between attribute data and spatial data is done through a common
identifier.
11
4/5/2019
• The link between the features and its record is maintained through a unique
numerical identifier assigned to each feature.
• The unique identifier is physically stored in two places. In the files that contain
x,y coordinate pairs and with the corresponding record in the FAT.
GIS ANALYSIS
Map Overlay in GIS
Definition: - the process of taking two different thematic maps of the same area
and overlaying them one on top of the other to form a new map layer.
“The ability to integrate data from two sources using map over is perhaps the key
GIS analysis function”.
12
4/5/2019
13
4/5/2019
14
4/5/2019
15
4/5/2019
Map Algebra
Local Functions
• work on single cells, one after another,
value assigned to a cell depends on this
cell only
• examples:
– arithmetic operations with a constant, or
with another grid:
2 0 1 6 0 3 2 0 1 1 5 3 2 0 3
2 4 0 * 3 = 6 12 0 2 4 0 * 4 4 3 = 8 16 0
3 1 9 3 3 1 2 5 6 6 6
16
4/5/2019
Focal Functions
• assign data value to a cell based on its
neighborhood (variously defined)
• uses:
– smoothing - moving averaging
– edge detection
– assessing variety, etc.
• examples:
– focal sum - adds up values in cell neighborhood,
and assigns this value to the focal cell
– focal mean - averages values in neighborhood,and
assigns the result to the focal cell
– also: logical functions, other mathematical
17
4/5/2019
Shapes of Neighborhoods
1 1
3 4 6 3 6
4 4
5 1 2 5 1 2
3 4 6 3 4 6
3 4 4 3 4 4
Kinds of Neighborhoods
• Neighborhood: a set of locations each of
which bears a specified distance and/or
directional relationship to a particular
location called the neighborhood focus (D.
Tomlin)
– distance and directional neighbors
– immediate and extended neighbors
– metric and topological neighbors
– neighbors of points, lines, areas...
18
4/5/2019
Neighborhood Operations
some function
1
3 4 6 X
4
Functions:
Total: X = 18 Variety: X = 4
Average: X = 4 Median: X = 4
Minimum: X = 1 Deviation: X = 0
Maximum: X = 6 Std. dev.: X = 2
Minority: X = 1 (or 3, or 6) Proportion: X = 40
Majority: X = 4 ...
Neighborhood Statistics
• In Spatial Analyst you can specify:
– shape of neighborhood: | Circle |
Rectangle | Doughnut | Wedge
– size of neighborhood: radius (circle),
inner and outer radius (doughnut),
radius, start and end angles (wedge),
width and height (rectangle)
– operation: | Minimum | Maximum | |
Mean | Median | Sum | Range |
Standard Dev. | Majority | Minority |
Variety |
19
4/5/2019
Buffering
Polyline
Polygon
Point
20
4/5/2019
The term digital elevation model or DEM is frequently used to refer to any digital
representation of a topographic surface. However, most often it is used to refer
specifically to a raster or regular grid of spot heights.
21
4/5/2019
22
4/5/2019
Bundle of rays
23
4/5/2019
Several data structures have been used, although the most popular are the
grid and triangular irregular network.
24
4/5/2019
1. In a TIN model, the sample points are connected by lines to form triangles
(within each triangle the surface is usually represented by a plane)
2. By using triangles we ensure that each piece of the mosaic surface will fit with its
neighboring pieces - the surface will be continuous - as each triangle's surface
would be defined by the elevations of the three corner points.
3. for vector GIS, TINs can be seen as polygons having attributes of slope, aspect
and area, with three vertices having elevation attributes and three edges with
slope and direction attributes
25