0% found this document useful (0 votes)
79 views49 pages

GIS I CH 2 Data Model

This document discusses GIS data models including vector and raster models. It describes the basic components of vector data such as points, lines, polygons and their characteristics. It also discusses raster data representation and topological relationships in vector data.

Uploaded by

eyoba2590
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views49 pages

GIS I CH 2 Data Model

This document discusses GIS data models including vector and raster models. It describes the basic components of vector data such as points, lines, polygons and their characteristics. It also discusses raster data representation and topological relationships in vector data.

Uploaded by

eyoba2590
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 49

CHAPTER TWO

GIS DATA
MODELS

By: Eyob A.. MWU CoE Seng


Feb/14/2024
After completing this unit, you should
be able to:

❖ Define various GIS data models.

❖ Identify the discrete elements used in Vector data model

❖ Describe common spatial data formats used in GIS.

❖ Describe the vector and raster data models used in GIS and give
examples.
❖ Discus structural capabilities of vector and raster data
❖ Discuss attribute data Model
By: Eyob A.. MWU CoE Seng
2.1 GIS Data and Its Sources
What is Data ?
❖ It is a collection of facts and figures to be used for a
specific analysis to extract new information.
❖ When it arranged in an organized form, can be called
information.
❖ Based on its source it can be primary and secondary
data.

By: Eyob A.. MWU CoE Seng


Primary and Secondary data
❖ Primary data sources are those collected in digital format
specifically for use in a GIS project. It is first hand information.
❖ Examples of primary data sources are:
✓ GPS measurements
✓ Surveying(Total station), etc.
✓ Remote sensing data
❖ Secondary data are data collected from other individuals or
organizations work. Examples of secondary data:
✓ Topographic map, satellite image,
✓ Meteorological data , Population census, other Digital
documents,
✓ Aerial photographs and Thematic maps. By: Eyob A.. MWU CoE Seng
2.2. Concepts of GIS Data Models

❖Data in a GIS represents in simplified view of physical


entities or phenomena known as Model.
❖A model give better understanding of the system or a
process.
❖A data model: is a set of constructs for describing and
representing selected aspects of the real world in a
computer.
❖The purpose of spatial data model is to provide a
formal means of representing and manipulating
spatially referenced information.
By: Eyob A.. MWU CoE Seng
Types of Spatial Data Model
➢ Two types of spatial
data models:
1. Vector Data
model
2. Raster data
model

By: Eyob A.. MWU CoE Seng


1. Vector Data Model
❖Vector data model uses
discrete elements such as
points, lines and polygons
to represent the
geometry of real world
entities.
❖Points, lines, and
polygons can be defined
by the coordinate
geometry(COGO).

By: Eyob A.. MWU CoE Seng


2.3. Characteristics of Vector Data Models

❖A vector data model uses sets of coordinates and


associated attribute data to define discrete objects.
❖Geometric elements of a vector representation:

Area

Lines

By: Eyob A.. MWU CoE Seng


I. Pont Representations

❖ A point uses a single coordinate pair to represent the


location of an entity.
❖ Have no dimension.
❖ Some features may have real physical dimension, but for
the purpose of GIS users they may be represented as
points.
❖ It represents geographic features such as wells, sample
locations, or trees.
❖ They are used to represent or model real-world objects,
such as building, power pole, survey benchmarks, and
street lights sample location etc..
By: Eyob A.. MWU CoE Seng
Cont’d..

❖ A vector spatial data model uses two


dimensional Cartesian(x, y) coordinate
system to store the shape of a spatial
entity.
❖ In vector world the point is the basic
building block from which all spatial
entities are constructed.
❖ The simplest spatial entity, the point, is
represented by a single (x, y) coordinate
pair.
❖ Line and area entities are constructed
by connecting a series of points into
chains and polygons.
By: Eyob A.. MWU CoE Seng
Cont’d..

❖Thus when you choose to use points to represent a


feature is mostly a matter of three things.
❖These are:
1. Scale (how far away are you from the feature),
2. Convenience (it takes less time and effort to
create point features in GIS than polygon
features), and
3. The type of feature (some things like telephone
poles just don't make sense to be stored as
polygons)
By: Eyob A.. MWU CoE Seng
ii. Linear Representations

❖Linear Features often referred to as arcs, are


represented as lines.
❖Lines typically have a starting, ending and
intermediate points to represent the shape of
the linear entity.
❖Starting points and end points sometimes
referred to as nodes.
❖Intermediate points in a line are referred to as
vertices.
By: Eyob A.. MWU CoE Seng
Cont’d..

❖When two points are joined, a line is created. When


more than two are joined they form a 'line of lines', or
polyline or arc.
❖While a point feature has a single vertex, a polyline has
two or more vertices.
❖The polyline is a continuous path drawn through each
vertex.
❖Lines can be used represent linear features such as
roads, rivers, contours, boundary, footpaths, flight
paths and so on.
By: Eyob A.. MWU CoE Seng
iii. Polygon Representations

❖Area entities: are most often represented by


closed polygon.
❖These polygons are formed by a set of
connected lines.
❖A set of lines connected starting to ending
point.
❖Polygons have an interior region and may
entirely enclose other polygons in this region.

By: Eyob A.. MWU CoE Seng


iii. Polygon Representations

❖It involves numerous vector points that are connected


in sequence.
❖Like polyline features, polygons are created from a
series of vertices that are connected with a
continuous line.
❖However because a polygon always describes an
enclosed area, the first and last vertices should always
be at the same place.
❖Polygon features are enclosed areas like dams,
islands, country boundaries, land uses and so on.
By: Eyob A.. MWU CoE Seng
Point, Line and Area
Representations

By: Eyob A.. MWU CoE Seng


Cont.

❖N.B. There is no uniformly superior way to represent


features.
❖The representation depends as much on the detail,
accuracy, and intended use of the data set as our
common conception and general shape of the objects.
❖E.g. Buildings may be represented by either point,
line, or polygon features.

By: Eyob A.. MWU CoE Seng


Advantages and Disadvantages of Vector data
Model
Advantages Disadvantages
❖Requires less disk storage ❖ Complex data structure
space ❖ Less compatibility with
❖Precise location of features remotely sensed data
❖Storing many attributes ❖ Expensive software and
hardware
❖Flexible for cartography
❖ Not appropriate to
❖ Compact storage of represent continuous
information data
❖Ideally suited for certain ❖ Overlaying multiple
types of analysis, especially vector are often time
areas, lengths, Connections consuming
Topological vector models

❖Topology: is the study of geometric properties that do


not change when the forms are bent, stretched or
undergo similar transformations.
❖Topological vector models: explicitly record topological
relationships such as adjacency and connectivity in the
data files.
❖Topological vector models may also enforce particular
types of topological relationships.
❖It enhance many vector data operations.

By: Eyob A.. MWU CoE Seng


A. Network Topology

By: Eyob A.. MWU CoE Seng


B. Planar topology

❖Planar topology – requires that all features occur on


a two dimensional surface.
❖There can be no overlaps among lines or polygons in
the same layer.
❖At each line there must be an intersection than
crossing.
❖Dangles- lines that do not connect to other lines.

By: Eyob A.. MWU CoE Seng


Planar topology

❖Property parcels of land must adjoin each other


exactly, without gaps or overlaps.
❖This two-dimensional graph is called a planar
topology.

By: Eyob A.. MWU CoE Seng


Topological relationships
❖ The relationships that do not change if you
imagine a map being on a rubber sheet and you
pull and stretch the rubber sheet in different
directions.

❖ Vector and TIN data can have topological structure.


❖ Raster and images can not have a topological structure.
By: Eyob A..
Common File extension of vector data

File Extension Description


ESRI shapefile , Feature
.shp
geometry
Index format for the feature
.shx
geometry
Feature attribute information
.dbf
in dBASE format
Geocoding index for read-
write shapefiles with ODB
.mxs
format
DXFs/DWG Autocad file
shp.xml Metadata in XML format
TIGER/Lines (Topologically Integrated Geographic Encoding and Referencing
system By: Eyob A..
2. Raster data Model

❖Raster data model is


representation of the
continuous surface which
its representation uses an
array of cells, or pixels, to
represent real-world
objects.

By: Eyob A.. MWU CoE Seng


2. Raster data Model

❖In its simplest form, a raster consists of a matrix of cells


organized into rows and column where each cell
contains a value representing information, such as
temperature, vegetation, Elevation, mean temperature,
slope, average rainfall, cumulative ozone exposure, or
soil moisture.
❖Raster model is used most commonly with variables
that change continuously across a region.

By: Eyob A.. MWU CoE Seng


Cont’d..

❖Raster are digital aerial photographs, imagery


from satellites, digital pictures, or even scanned
maps.
❖In this format a single value is stored against each
cell.
❖Visual images ( that is color and /or hue)
❖Discrete Value, such as land use continuous
value, such as rainfall.
❖Null values if no data is available.
By: Eyob A.. MWU CoE Seng
Cont’d..

By: Eyob A.. MWU CoE Seng


Raster Data Type

1. Thematic data:
❖ It is used to
representing
features such as
land use or soils
data. For example,
Landsat satellite
images are used to
analyze land cover

By: Eyob A.. MWU CoE Seng


Raster Data Type
2. Grid raster data
❖Are well suited for
representing data that
changes continuously
across a landscape
(surface).
❖The raster usually
represents a continuous
field (elevation,
temperature, chemical
concentration) and is
sometimes called lattice.
By: Eyob A.. MWU CoE Seng
Raster Data Sources

Air Photos

Satellite
Imagery

Scanned Maps
By: Eyob A.. MWU CoE Seng
Examples:

❖ Remote sensing satellites


❖ (e.g. multispectral Landsat Thematic Mapper
commonly used in GIS applications with 30 m
ground resolution)
❖ Aerial Photographs
❖ Quick bird images
❖Spot image, etc

By: Eyob A.. MWU CoE Seng


Examples of Raster Data / Grids:
Scanned and georeferenced topographic maps

(Panchromatic satellite imagery or aerial photos)


By: Eyob A.. MWU CoE Seng
(Multispectral Landsat imagery)

(Classified images)

By: Eyob A.. MWU CoE Seng


Digital Elevation Models (DEM) Analytical Hillshading

Surface Analysis (Slope) Surface Analysis (Aspect)


By: Eyob A.. MWU CoE Seng
Characteristics of raster based on cell size

❖The level of detailed represented by a raster is


often dependent on the cell( pixel) size or spatial
resolution of the raster.
❖The cell must be small enough to capture the
required detail but large enough so computer
storage and analysis can be performed
efficiently.

By: Eyob A.. MWU CoE Seng


Characteristics of raster based on cell size

Smaller cell size Larger cell size


❖Higher resolution ❖Lower resolution
❖Higher feature spatial ❖Lower feature spatial
accuracy accuracy
❖Slower display ❖Faster display
❖Slower processor ❖Faster processor
❖Larger file size ❖Smaller file size

By: Eyob A.. MWU CoE Seng


Advantages and Disadvantages

Advantages
Disadvantages
➢Simple data
structure ➢Large amount of data
➢Easy overlay ➢Projection transformation
is difficult
➢Various kinds of
spatial analysis ➢Different scales between
layers can be difficult
➢Uniform size and
shape ➢May lose information due
to generalization
➢Cheaper technology

By: Eyob A.. MWU CoE Seng


TIN and DEM
❖In addition to the two main data models there are also
other data models that may be described as variants,
hybrids or special forms by some GIS users.
❖These are TIN and DEM
❖TIN stands for triangulated irregular network
❖This model is often used to represent surfaces, Such as
elevations, through a combination of point, line and
area features.

By: Eyob A.. MWU CoE Seng


TIN and DEM
❖ DEM stands for Digital Elevation Model is the digital
representation of the land surface elevation with respect to any
reference datum.
❖ It is frequently used to refer to any digital representation of a
topographic surface and it is the simplest form of digital
representation of topography .
❖ DEMs are used to determine terrain attributes such as elevation
at any point, slope and aspect ,
❖ Terrain features like drainage basins and channel networks can
also be identified from the DEM.
❖ DEM are widely used in hydrologic and geologic analyses, hazard
monitoring, natural resources exploration, agricultural
management etc
By: Eyob A.. MWU CoE Seng
Basic data structures for GIS
Vector

Raster

TIN (triangulated
irregular network)

Tabular information
(attribute table)
By: Eyob A.. MWU CoE Seng
A comparison of Raster and vector data model

• Data structure –
– Raster- usually simple
– Vector- usually complex
• Storage requirements
– Raster- large for most data sets
– Vector- small for most data sets
• Coordinates conversion
– Raster- may be slow depending on size of data sets
– Vector- simple
• Analysis
– Raster- easy for continuous data, simple for many layer combinations
– Vector- preferred for network analyses, complex for other spatial
operations
By: Eyob A.. MWU CoE Seng
Cont’d
❖Positional precision
❖Raster- floor set by pixel size
❖Vector- limited only by quality of positional
measurements
❖Accessibility
❖Raster- easy to modify or program due to simple
data structure
❖Vector- often complex
❖Display and output
❖Raster- good for images not for discrete features
❖Vector- map like, poor for images
Cont.

By: Eyob A.. MWU CoE Seng


Raster and Vector Data
Raster data are described by a cell grid, one value per cell

Vector Raster

Point

Line
Zone of cells
Polygon

By: Eyob A.. MWU CoE Seng


Cont.

By: Eyob A.. MWU CoE Seng


2.5. Attribute Data Model

❖ Attribute data are the


information linked to the
geographic features (spatial
data) that describe features.
❖ That is, attribute data are the
graphic information
associated with a point, line,
or area elements in a GIS

By: Eyob A.. MWU CoE Seng


Unit Assessment Questions
• How do we represent the world/spatial data in a GIS
database?
• What is spatial data model?
• What are the common spatial data models used in
GIS?
• What is the difference between point, line and areal
representations?
• What are the major diffidence between vector and
raster data structure?
• What are the major advantage and limitations of
vector and raster data models?
• Attribute data model? By: Eyob A.. MWU CoE Seng

Common questions

Powered by AI

The cell size in raster data determines the level of detail that can be represented, with smaller cells providing higher resolution and spatial accuracy of features. However, smaller cells also result in slower data display, processing, and larger file sizes. Conversely, larger cell sizes lead to lower resolution and spatial accuracy but result in faster data display, processing, and smaller file sizes. Thus, the choice of cell size affects the balance between the detail of spatial information and the efficiency of data storage and processing in GIS analyses .

Vector data models have advantages such as requiring less disk storage, precise location representation, the ability to store multiple attributes, flexible cartography, and compact storage for certain types of analysis like area and line measurements. However, they have complex data structures, lower compatibility with remote sensing data, can be costly in software and hardware, and are not ideal for continuous data representation. Raster data models offer simplicity, ease of overlay, suitability for continuous variable analysis, and cost-effectiveness in technology. However, they often require large amounts of data storage, face difficulties in projection transformation, and can result in information loss due to generalization .

Triangulated Irregular Networks (TIN) represent surface data through a combination of points, lines, and areas forming triangles. This model is advantageous for capturing surface variations and representing topography due to its ability to adapt the location of data points to areas of significant change, thus requiring fewer data points to represent areas without significant elevation changes. Compared to raster models, which use a fixed grid of cells, TINs can provide more accurate representations of surfaces with varied elevations, which is beneficial for tasks like terrain modeling and hydrological analysis, where detail and accuracy in elevation differences are crucial .

Raster models have a simpler data structure characterized by a grid format where data is represented in pixel cells, each holding a single value. This simplicity facilitates operations like overlaying, spatial analysis, and handling continuous data. On the other hand, vector models involve more complex data structures with discrete representations of points, lines, and polygons defined through coordinate geometry, which can complicate spatial operations but provide precise depiction of geographic entities. The simpler structure of raster models allows easier implementation of certain analytic processes over continuous surfaces, whereas the precision of vector models suits analyses requiring accurate geometric representations .

It is more beneficial to use a raster data model when dealing with applications that require the analysis of continuous data, such as elevation, temperature, or chemical concentration across a landscape. Raster models are particularly well suited for tasks involving surface analysis, such as agriculture management, hazard monitoring, and resource exploration, where gridded and uniform data formats can simplify the overlaying process and spatial analysis. The simpler raster structure also allows for easier integration and analysis of remote sensing imagery and large-scale landscape metrics .

The vector data model represents real-world entities in GIS using discrete elements such as points, lines, and polygons. Points represent locations with a single coordinate pair, even if they have real physical dimensions, like wells or trees. Lines, referred to as arcs, have a starting, ending, and intermediate points to form linear features; while polygons represent area entities by closed shapes of connected lines. The choice of using points is largely influenced by the scale (distance from the feature), convenience in feature creation, and the type of feature (e.g., telephone poles are more apt as points than polygons).

In the vector data model, topological relationships are preserved by explicitly recording adjacency and connectivity in the data files, ensuring that features occur on a two-dimensional surface without overlaps among lines or polygons. This is known as planar topology, which requires intersections rather than crossings at line junctions. Topology in GIS is important because it preserves the spatial relationships among geographic features, which is crucial for analyzing connectivity, network paths, and spatial integrity. This allows for the enforcement and enhancement of various vector data operations, facilitating more accurate geographic analyses .

Digital Elevation Models (DEM) use the raster data format to represent land surface elevations through grids of regularly spaced square cells, each assigned with elevation values. This allows for comprehensive geographic and geologic analyses, facilitating the determination of terrain attributes such as elevation at any point, slope, and aspect. DEMs can produce terrain features, identify drainage patterns, and analyze hydrological network paths, thereby supporting applications in hazard monitoring, natural resources exploration, and agricultural management. The ability to handle and present continuous surface data efficiently makes DEMs a valuable tool in various fields requiring spatial terrain data .

Attribute data in GIS provides descriptive information linked to spatial data that describes the characteristics of geographic features. For instance, attributes linked to a point could inform on the object it represents, like a tree or a building, while line or polygon attributes might include road width or land use types. These data enable a deeper analysis of the geographic entities by connecting spatial location with qualitative data, aiding in insightful spatial querying, analysis, and decision making. The integration of attribute data with spatial location information significantly enhances the ability to conduct precise, context-rich geographic analyses .

When choosing between primary and secondary data sources for a GIS project, considerations should include the specific requirements for data accuracy and timeliness, project budget, data availability, and the intended purpose of the analysis. Primary data, being firsthand and often collected digitally, typically offers higher accuracy and can be tailored to specific project needs, making it ideal for new or customized analyses. Secondary data, derived from other individuals or organizations, may be more cost-effective and readily available but potentially less tailored and out-of-date for the project's requirements. The critical evaluation of these factors helps determine the most suitable data source for effective GIS analysis .

You might also like