This document provides an overview of basic data models used in GIS, including vector data models and raster data models. It discusses how raster data models establish a grid pattern over a geographic area with cells defined by row and column indices. Each cell is assigned a value representing dominant features or multiple features in that area. It also lists common raster data formats used in GIS like TIFF, JPEG, and netCDF files.
Developer Data Modeling Mistakes: From Postgres to NoSQL
Raster
1. Basic Data Models
Vector Data
Model
(entities)
Raster Data
Model
(fields)
2. Raster Data Models
Establishes a pattern of similar grids
or cells over a geographic area
The location of each cell is defined by
its row and column indices
The value assigned to a cell either
reflects the dominant feature
(attribute) at that grid space or
indicates the presence of a preferred
feature in case where two or more
features are present within a single
grid space
3. Raster Data Models
Basic unit in a raster is a cell (or grid
or pixel)
Analytically more powerful than the
vector based GIS
6. 3
5
10
+ 2
4
5
10 =
9
20
Direct calculations using raster layers
7. Comparison between raster and vector
Raster Vector
Data collection Rapid Slow
Data volume Large Small
Graphic treatment Average Good
Data structure Simple Complex
Geometrical Low High
accuracy
Analysis in Poor Good
network
Area analysis Good Average
Generalization Simple Complex
11. Georeferencing
● all spatial data in a common frame of
reference
● common coordinate system is plane,
orthogonal cartesian coordinates
● referenced with ground and field surveys
or GPS
● In GRASS
– i.group, i.target, i.points, i.rectify
12. Northing
Conformal
transformation
X =c 1 ax− by
Y =c 2 ayby
Easting