Vector and Raster Data Models
Vector and Raster Data Models
Source: Lo et al.
Separate GIS (2007)
files.
Singleparts vs.Multiparts
Singlepart
One feature is represented
by one record.
Multipart
Multiple features are represented by one
record.
Applications for multipart features are for
example, multiple polygons representing
protective buffers around the same type of
features (e.g. eagle nests).
A downside of a multipart: only one
attribute is assigned to all multipart parts,
which, e.g. for areas, can be deceiving when
looking at individual parts.
Vector Data Model Attributes
In GIS vector files attributes are, in a simple form, stored in tables (databases).
In ArcGIS, FID and Shape fields, although shown in the Table of Attributes, are not actually part
of the attributes, but rather represent the spatial and index information (e.g. the .shp and .shx
content in shapefiles). Because of it FID and Shape fields cannot be deleted from the table,
unlike any other pure attribute field.
Field
Record
Attribute
Typical Storages of Vector Data
All here presented happen to be created by ESRI.
Vector File Description
Format
The projection file is a beneficial addition to a shapefile, although .lxs, .mxs geocoding index files.
not a necessary oneshapefiles can be used without a projection file .cpg specifies character set code
but this is to be avoided. page.
All elements have the same filename (e.g., roads).
Shapefiles can be either a point or a line (arc) or a polygon file -- they
cannot contain more than one shape type!
Raster Data Model
Raster data model is represented by square cells of same size organized in horizontal rows
and vertical columns (rows and columns are never slanted).
A rasters position (geographic location) is defined by
assigning x,y coordinates to one or two corners -- positions
of the cells themselves flow from this reference point and Spatial resolution of a raster is
the overall Cartesian coordinate system structure. defined by the cell size (1 m ,
20 m , 100 m, ).
In terms of the cell values, generally, rasters can be divided into image,
interpolated, and thematic rasters.
Image rasters have values that represent measurements of energy
(reflections) captured by a sensor (camera).
Image raster cell values are usually whole numbers (integers).
Image raster files are often multiband
Thematic and interpolated rasters can be multi-band but are predominantly one-band.
Raster Types Based on Cell Values
Image raster.
Neighbourhood Analyses
Cost-Path Analyses
Raster Dataset Properties
Format: the type of file used to store the raster (for example, .jpg, .tiff).
Number of Bands: the number of layers in the raster file, representing the same area but
through different values.
Data Type: the type of data assigned to raster cells; integer (whole number), float (decimal
number), etc. The data type is assigned to the entire raster, all cells have the same data type
there cant be one cell having an integer value and the next cell a float number value.
Data Depth: also known as pixel or bit depth the per-cell binary range assigned to the
raster; e.g., an 8-bit integer raster can have integers (whole numbers) from 0 255 (8 bits =
255) assigned to a cell, only.
Statistics: include minimum and maximum value, mean, and standard deviation of all
values assigned to raster cells.
Extents: left, right, top and bottom coordinates of the raster dataset.
Size of the Raster: the number of rows and columns in the raster.
Raster Data Model
In the raster data model, attributes are limited to the numeric values of the cells themselves,
and while it is possible to link additional attributes to the groups of cells having same values,
this is rarely done in practice for the reasons of low utilization value and cumbersome data
management.
Raster data models often take more memory space than the spatial component of the vector
data models (attributes attached to the vector data models can tip the balance the other way).
Rasters can also have NoData values, which indicates absence of data (not the same as
zero!).
In many respects, vector and raster data models complement each other and
get switched between along the processes of data collection, observation,
analyses, and presentation.
References: