GUS: 0265 Applications in GIS - PowerPoint PPT Presentation

About This Presentation
Title:

GUS: 0265 Applications in GIS

Description:

Implementation of the spaghetti vector model ... Spaghetti: can encode as 2 or 3 polygons (and have 2 or 3 records in the attribute table) ... – PowerPoint PPT presentation

Number of Views:32
Avg rating:3.0/5.0
Slides: 26
Provided by: mod41
Category:

less

Transcript and Presenter's Notes

Title: GUS: 0265 Applications in GIS


1
GUS 0265Applications in GIS
  • Lecture Presentation 1
  • Vector Data Model and Operations
  • Jeremy Mennis
  • Department of Geography and Urban Studies
  • Temple University

2
Vector Data Models
Geometric Primitives Points, lines,
polygons Two Primary Types Spaghetti Topologic
(and TIN)
3
Spaghetti Vector Data Model
Each point, line, or polygon is stored as a
record in a file that consists of that entitys
ID and a list of coordinates that define geometry.
For Points
  • ID Coordinates
  • 3,4
  • 5,5

2
1
4
Spaghetti Vector Data Model
Each point, line, or polygon is stored as a
record in a file that consists of that entitys
ID and a list of coordinates that define geometry.
For Lines
  • ID Coordinates
  • (0,1), (3,4), (5,6)
  • (3,1), (5,2), (4,3)

1
2
5
Spaghetti Vector Data Model
Each point, line, or polygon is stored as a
record in a file that consists of that entitys
ID and a list of coordinates that define geometry.
For Polygons
  • ID Coordinates
  • (2,4), (4,3), (3,6) , (2,4),
  • (3,1), (5,2), (4,3), (3,2), (3,1)

1
2
6
ESRI Shapefile
Designed by ESRI for ArcView Implementation of
the spaghetti vector model An individual layer
stores a single type of geometry (i.e. point,
line, polygon) No topology (but it can be
calculated on the fly...) Draws relatively
fast Open file format
7
ESRI Shapefile
Three primary files in a shapefile .shp, .shx,
and .dbf All files must share the same prefix
for one shapefile, e.g. road.shp, road.shx, and
road.dbf .shp stores the feature geometry
(binary) .shx index for .shp file .dbf
attribute data stored in dBASE format
8
Spaghetti Vector Data Model
Advantages simple efficient for display and
plotting Disadvantages inefficient for most
types of spatial analysis
9
Vector Topologic Data Model
Composed of points, lines, and polygons Node a
point at the intersection of three or more
lines In addition to coordinate locations, the
topologic relationships among geometric features
are explicitly recorded
10
Vector Topologic Data Model
11
Vector Topologic Data Model
Planar Enforcement No two individual features
can overlap. There are no holes or íslands
that are not themselves features. Every feature
is represented as a record in the attribute
table.
12
Vector Topologic vs. Spaghetti
Spaghetti can encode as 2 or 3 polygons (and
have 2 or 3 records in the attribute
table) Topologic must be encoded as 3 polygons
(and have 3 records in the attribute table)
13
ESRI Coverage
Designed by ESRI for ArcInfo Implementation of
the vector topologic data model Closed file
format Each coverage is a directory, with
numerous files that store feature geometry,
projection, registration, etc. Attribute data is
stored in a separate INFO directory, which stores
all attribute data for all coverages in its
parent directory.
14
Triangulated Irregular Network (TIN)
15
Triangulated Irregular Network (TIN)
16
Vector Operations
Classification Buffer Overlay
17
Classification
Line Dissolve (Map Dissolve)
2
3
1
2
1
4
1 grain crops 2 orchards 3 residential 4
commercial
1 agricultural 2 non-agricultural
18
Buffer
Definition of what is within/without a given
proximity
Line buffer
Point buffer
Polygon buffer
19
Overlay
An overlay operation takes two or more data
layers as input and results in an output data
layer Three types of overlay Point in
polygon Line in polygon Polygon (polygon on
polygon)
20
Point in Polygon Overlay
Land Cover
Trees
NewTrees
1
2
A
A
C

C

B
B
Point Table
Poly Table
Point Table
ID Cover 1 Rural 2 Urban
ID Tree A Elm B Maple C Elm
ID Tree Cover A Elm Rural B
Maple Rural C Elm Urban
21
Line in Polygon Overlay
Land Cover
Streets
NewStreets
C
C
A
A


D
B
B
1
2
Line Table
Poly Table
Line Table
ID Cover 1 Rural 2 Urban
ID Street A Race B Race C
Arch
ID Street Cover A Race Rural
B Race Urban C Arch
Urban D Race Urban
22
Polygon Overlay
Intersection (and)
Union (or)
Identity
23
Polygon Overlay Intersection
Agriculture
Land Cover
ltIntermediategt
A
A
B
B
ID Owner A Brown B Smith
ID Cover A commercial B industrial
Area of intersection
New node
24
Polygon Overlay Union
Agriculture
ltIntermediategt
Land Cover
A
A
B
B
ID Owner A Brown B Smith
ID Cover A commercial B industrial
Area of union
New node
25
Polygon Overlay Identity
Agriculture (input layer)
Land Cover (identity layer)
ltIntermediategt
A
A
B
B
ID Owner A Brown B Smith
ID Cover A commercial B industrial
Area of identity
New node
Write a Comment
User Comments (0)
About PowerShow.com