Professional Documents
Culture Documents
By
Dr. Vandita Srivastava
vandita@iirs.gov.in
Geoinformatics Department,
Indian Institute of Remote Sensing,
Dehradun, India
Coverage
Agenda Item 1
Introduction to Spatial Data Analysis
Query
Arithmetic Operations
Relational Operations
Logical Operations
Attribute Query
Requires the processing of attribute data exclusive of spatial
information.
Parcel No.
102
103
104
105
A sample parcel map
Size
7,500
7,500
9,000
6,600
Value
200,000
160,000
250,000
125,000
Land Use
Commercial
Residential
Commercial
Residential
is an attribute query
Dr. Vandita Srivastava,
Geoinformatics Department,
RSGG/IIRS, ISRO/DOS/GOI
10
Spatial Query
Involves selecting features based on location or spatial
relationships, which require processing of spatial information.
Parcels identified through
spatial query
Parcels not selected
Parcels within a specified distance identified through spatial query
11
Useful Operators
Query
Arithmetic Operations
Relational Operations
Logical Operations
Arithmetic operators
+, -, *, /
MOD (modulo division)
DIV (integer division)
goniometric operatos: sin, cos, tan, asin, acos,
atan.
Raster2 := Raster1 * 5
Dr. Vandita Srivastava, Geoinformatics
Department, RSGG/IIRS, ISRO/DOS/GOI
13
=
>
<
>=
<=
#, <
Equal to
Greater than
Less than
Greater than or equal to
Less than or equal to
> Not equal to
Value
<
< 400,000
14
Relational operator
Area < 400,000
15
Logical Operators
AND
OR NOT
XOR
Logical Operators
17
Logical functions
Set Theory
A
AND
intersection
OR
union
XOR
exclusion
NOT
negation
18
Agenda Item 2
Spatial Analysis Functions and Tools
Retrieval & Selection
Measurement & (Re) Classification
Overlay Operations
retrieval
involves
the
selective
search,
manipulation and output of data without the
requirement to modify the geographic location of the
features involved.
21
PIXEL INFORMATION
Slope
Row
Column Value
6
7
2
x: 10300
y: 56456
Soil
Map 1 Soil 2
Table Soil
Soil:
Silt
Thickness:
5
Recnr
1
2
3
Soil Thickness
Sand 10
Silt
5
Clay
15
Map 2 Rock 3
Table Rock
Rock:
Granite
Strenght: High
Map 3 Slope 2
Table Slope
Slope:
Gentle
22
23
Landuse
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
etc.
Residential
Residential
Residential
Commercial
Commercial
Recreational
Residential
Residential
Residential
Residential
Residential
Commercial
Residential
Residential
Institutional
Residential
Residential
Residential
Commercial
Residential
Residential
Institutional
Landuse:
Commercial
Institutional
Recreational
Residential
24
Interactive
Spatial Selection by Attribute conditions
Relational operators
Logical operators
Combining attribute conditions
Spatial selection using topological relationships
Selecting features that are inside selection objects
Selecting features that intersect
Selecting features adjacent to selection objects
Selecting features based on their distance
Dr. Vandita Srivastava, Geoinformatics
Department, RSGG/IIRS, ISRO/DOS/GOI
25
Interactive
26
27
28
29
meet
equal
overlap
Dr. Vandita Srivastava, Geoinformatics
Department, RSGG/IIRS, ISRO/DOS/GOI
covered by
covers
inside
contains
30
Cities as points
Attribute selection
Spatial selection
Wards as polygons
Highways as lines
2
Select all cities that are located in the state Georgia. (INSIDE RELATIONSHIP)
Dr. Vandita Srivastava, Geoinformatics
Department, RSGG/IIRS, ISRO/DOS/GOI
32
2
Dr. Vandita Srivastava, Geoinformatics
Department, RSGG/IIRS, ISRO/DOS/GOI
33
34
35
Assignment
Combining various selection techniques
Given road layer and building layer, how will you select all major roads
that are located within a distance of 200 meter from a hospital?
36
Measurement
Measurement - Vector
distance
38
Measurement - Raster
Raster measurements
include: location, distance
and area size
Location of an individual cell
derived from anchor point
and resolution
Area size number of cells
* cell size
Distance standard
distance function applied to
the locations of their midpoints
Cell size: 30 m X 30 m
900 * 5 = 4500 m2
39
(re)Classification
M:N
User controlled vs. Automatic
Equal Interval vs. Equal Frequency
Classification
Classification involves the selection and presentation of a selected
layer of data based on the classes or values of a specific attribute. It
involves looking at an attribute, or a series of attributes, for a single
data layer and classifying the data layer based on the range of values
of the attribute.
Remove detail from an input dataset to reveal important spatial
patterns.
Reduce the number of classes and eliminate details.
If the input dataset itself is the result of a classification we call it a
reclassification
Reclassify data in different systems for different purposes.
Assign codes based on specific attributes.
Dr. Vandita Srivastava, Geoinformatics
Department, RSGG/IIRS, ISRO/DOS/GOI
41
Classification Types
Classification - Reclassification
Post processing
User controlled classification
Classification table
Automatic classification
42
(Re) Classifications
Based on the number of classes before and after the classification, three
types of classifications can be differentiated:
a) one to one (1:1)
b)
c)
43
Example: 1:M
Attribute map: Land Use
Attribute table:
City blocks
Cityblocks Landuse
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
Institutional
Commercial
Commercial
Residential
Residential
Residential
Industrial
Residential
Industrial
Industrial
Residential
Industrial
Residential
Residential
Residential
44
Example: M:1
Geological map reclassified in
7 classes based on geological
age
45
Example: 1:1
High
Above Average
Average
Below average
Low
Classification
Reclassification
0-50,000
0-25,000
50,000-100,000
25,000-50,000
100,000-125,000
50,000-75,000
125,000-150,000
75,000-100,000
46
Interactive Session