Vector and Raster Data Models: Faculty of Applied Engineering and Urban Planning Civil Engineering Department
Vector and Raster Data Models: Faculty of Applied Engineering and Urban Planning Civil Engineering Department
Urban Planning
Raster
exhaustive regular or irregular partitioning of space
associated with the field view
location-based
Vector
points, lines, polygons
associated with the object view
object-based
Spatial Data Models
Spaghetti Vector Data Model
Each point, line, or polygon is stored as a record in a
file that consists of that entity’s ID and a list of
coordinates that define geometry.
For Points:
ID Coordinates
1 3,4
2 2 5,5
1
Spaghetti Vector Data Model
Each point, line, or polygon is stored as a record in a
file that consists of that entity’s ID and a list of
coordinates that define geometry.
For Lines:
ID Coordinates
1 (0,1), (3,4), (5,6)
2 (3,1), (5,2), (4,3)
2
Spaghetti Vector Data Model
Each point, line, or polygon is stored as a record in a
file that consists of that entity’s ID and a list of
coordinates that define geometry.
For Polygons:
ID Coordinates
1 (2,4), (4,3), (3,6) , (2,4),
2 (3,1), (5,2), (4,3), (3,2), (3,1)
2
Spaghetti Vector Data Model
Advantages
simple
efficient for display and plotting
Disadvantages
inefficient for most types of spatial analysis
Vector Topologic Data Model
Planar Enforcement:
All files must share the same prefix for one shapefile,
e.g. road.shp, road.shx, and road.dbf