Gis Geographic Information Systems Lec 5 Part B

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 22

lOMoARcPSD|28345601

GIS - Geographic Information Systems Lec 5 part B

Geographic Information Systems (GIS) (Assiut University)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)
lOMoARcPSD|28345601

Geographic Information Systems


GIS
LEC - 5
RASTERS MODEL

PART B - STRUCTURE OF RASTER MODEL

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Cell size of raster data

Because the raster data model is a regular grid,


spatial relationships are implicit. Therefore,
explicitly storing spatial relationships is not required
as it is for the vector data model.

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Raster Data Structure

1. Cell-by-Cell Encoding

2. Run Length Encoding

3. R tree and Quad Tree

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

CELL-BY-CELL ENCODING

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

PROBLEM:
Big amount of data!

RUN LENGTH ENCODING

§The run length coding is a widely used


compression technique for raster data.
§The primary data elements are pairs of
values or tuples, consisting of a pixel value
and a repetition count which specifies the
number of pixels in the run. Data are built
by reading successively row by row through
the raster, creating a new tuple every time
the pixel value changes or the end of the
row is reached.

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Properties of R-tree:
§Consists of root, internals nodes and
leaf nodes.
§Root contains the pointer to the
largest region in the spatial domain.
§Parent nodes contains pointers to
their child nodes where region of

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

child nodes completely overlaps the


regions of parent nodes.
§Leaf nodes contains data about the
MBR to the current objects.
§MBR-Minimum bounding region
refers to the minimal bounding box
parameter surrounding the
region/object under consideration.

A common real-world usage for an


R-tree might be to store spatial objects
such as:
restaurant locations or the polygons
that typical maps are made of: streets,
buildings, outlines of lakes, coastlines,
etc. and then find answers quickly to
queries such as:
§ "Find all museums within 2 km of my
current location“
§ "retrieve all road segments within 2
km of my location" (to display them
in a navigation system)
§ "find the nearest gas station"
(although not taking roads into
account)

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

References
•http://delab.csd.auth.gr/~tiakas/query_languages.pdf
•https://www.youtube.com/watch?
v=65TnKwCqpy0&list=PLRNNjIk9ArAoSycesz6wc5sJshpwnc
KmU&index=1
•Lecture notes from Dr. Taysir Hassan Abdel Hamid Faculty of
Computers and Information Assiut University
•https://desktop.arcgis.com/en/arcmap/10.3/manage-data/raster-
and-images/what-is-raster-data.htm
•https://www.kau.edu.sa/Files/830/Researches/56647_26929.pdf
•https://escholarship.org/uc/item/3jv1g09f
•https://www.geeksforgeeks.org/quad-tree/

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)


lOMoARcPSD|28345601

Downloaded by Shayma Tarek (shayma190852@hu.edu.eg)

You might also like