Gisnotes-Raster and Vector
Gisnotes-Raster and Vector
Is the geographic world a jig-saw puzzle of polygons, or a club-sandwich of data layers? (H.
Coucleclis, 1992)
When considering any space- a room, a landscape, or a continent- we may adopt several different
ways to describe what is going on in that subset of the earth's surface. The two extremes are (a)
to perceive the space as being occupied by entities which are described by their attributes or
properties, and whose position can be mapped using a geometric coordinate system, or (b) to
imagine that the variation of an attribute of interest varies over the space as some continuous
function or field. (Burrough and McDonnell, 1998)
RASTER DATA
Continuous surfaces can be discretized into sets of single basic units, such us squares, triangular,
or hexagonal cells, or even irregular triangles or polygons, which are tesseled to form
geographical representations. The most-used is the regular grid, as illustrated in the next figure.
The 2D geometric surface is divided into square cells (known as pixles) whose size is determined
by the resolution that is required to represent the variation of an attribute for a given purpose.
Each cell will have a different value of the attribute. The grid cell representation is known as the
Raster data model. Although the regular grid is most used to represent static phenomena, it can
easily be adapted to deal with dynamic change. Changes over time may be recorded in separate
layers of grid cells, one for each time step. Time, like space, is assumed to be discretized in this
model.
Fig. 2- Raster representation of a soil unit map.
The vector data model represents space as a series of discrete entity-defined point line or
polygon units which are geographically referenced by Cartesian coordinates.
Simple point, line, and polygon entities are essentially static representations of phenomena in
terms of XY coordinates. They are supposed to be unchanging, and do not contain any
information about temporal or spatial variability.
A point entity implies that the geographicalextents of the object are limited to a location that can
be specified by one set of XY coordinates at the level of resolution of the abstraction. A town
could be represented by a point entity at a continental level of resolution but as a polygon entity
at a regional level.
A line entity implies that the geographical extents of the object may be represented by sets of
XY coordinate pairsthat define a connected path through space. A road at national level is
adequately represented by a line; at street level it becomes an area of paving and the line
representation is unrealistic.
A Digital Terrain Model or Digital Elevation Model (DEM) is a special case of an interpolated,
continuous surface that has many uses in GIS. DTMs can be represented either by
mathematically defined surfaces or by point or line images. Line data can be used to represent
contours and profiles, and critical features such as streams, ridges, shorelines, and breaks in
slope. DTMs are modelled by regular grids (altitude matrices) and triangular irregular networks
(TINs).
Creating a Raster:
Consider laying a grid over a geologic map , create a raster by coding each cell with a
value that represents the rock type which appears in the majority of that cells areas .
When finished, every cell will have a coded value, in most cases the values that are to be
assigned to each cell in the raster are written into a file, often coded in ASCII. This file
can be created manually by using a word processor, database or spreadsheet program or it
can be created automatically. Then it is normally imported into the GIS so that the
program can reformat the data for its specific processing needs.
CELL VALUES
Types of values
The type of values contained in cells in a raster depend upon both the reality being coded and
the GIS ; different systems allow different classes of values, including:
whole numbers (integers)
real (decimal) values
alphabetic values
many systems only allow integers, others which allow different types restrict each separate
raster layer to a single kind of value. If systems allow several types of values, e.g. some
layers numeric, some non-numeric, they should warn the user against doing unreasonable
operations e.g. it is unreasonable to try to multiply the values in a numeric layer with the
values in a non- numeric layer. Integer values often act as code numbers, which "point" to
names in an associated table or legend e.g. the first example might have the following legend
identifying the name of each soil class:
0 = "no class" 1 = "fine sandy loam" 2 = "coarse sand" 3 = "gravel"
MAP LAYERS
The data for an area can be visualized as a set of maps of layers . A map layer is a set of data
describing a single characteristic for each location within a bounded geographic area. Only
one item of information is available for each location within a single layer - multiple items of
information require multiple layers .On the other hand, a topographic map can show multiple
items of information for each location, within limits
e.g. elevation (contours), counties (boundaries), roads, railroads, urbanized areas (grey
tint).these would be 5 layers in a raster GIS
typical raster databases contain up to a hundred layers. Each layer (matrix, lattice, raster,
array) typically contains hundreds or thousands of cells
important characteristics of a layer are its resolution, orientation and zone(s)
Resolution
in general, resolution can be defined as the minimum linear dimension of the smallest
unit of geographic space for which data are recorded
in the raster model the smallest units are generally rectangular (occasionally systems have
used hexagons or triangles)
these smallest units are known as cells, pixels
note: high resolution refers to rasters with small cell dimensions
high resolution means lots of detail, lots of cells, large rasters, small cells
Orientation
the angle between true north and the direction defined by the columns of the raster
Zones
each zone of a map layer is a set of contiguous locations that exhibit the same value
these might be:
ownership parcels
political units such as counties or nations
lakes or islands
individual patches of the same soil or vegetation type
note that not all map layers will have zones, cell contents may vary continuously over the
region making every cell's value unique e.g. satellite sensors record a separate value for
reflection from each cell.