SlideShare a Scribd company logo
1 of 17
Download to read offline
Lecture 06

        Raster and Vector Data Models

                                Part (1)




1




                  Common Data Models
                 Vector                       Raster

    Y   Points                             Points




                   ( x,y )




                         Area                          Area
         Line                              Line




                                   X
2




                                                              1
• Raster uses a grid cell structure
3   • Vector is more like a drawn map




4




                                          2
5




            Raster Data Model
      A raster represents a continuous
    surface, but for data storage and
    analysis, a raster is divided into rows,
    columns, and cells.


      Raster data represent points by single
    cells, lines by sequences of neighboring
    cells, and areas by collections of
    contiguous cells.
6




                                               3
A continuous elevation raster with darker shades for higher elevations.
7




                                                    Representation of
                                                    point, line, and
                                                    area       features:
                                                    raster format on
                                                    the left and vector
                                                    format on the right.




8




                                                                              4
Raster Data Model

• A raster data model uses a grid.
• One grid cell is one unit or holds one attribute.
• Every cell has a value, even if it is “missing.”
• A cell can hold a number or an index value
  standing for an attribute.
• A cell has a resolution, given as the cell size in
  ground units.



9




     Generic structure for a grid




10




                                                       5
Elements of Raster Data Model
1. Cell value. Each cell in a raster carries a value, which
   represents the characteristic of a spatial phenomenon at
   the location denoted by its row and column. The cell
   value can be integer or floating-point.
2. Cell size. The cell size determines the resolution of the
   raster data model.
3. Raster bands. A raster may have a single band or
   multiple bands.
4. Spatial reference. Raster data must have the spatial
   reference information so that they can align spatially with
   other data sets in a GIS.
11




      Raster – The Mixed Pixel Problem

                                       Land cover map –
                                       Two classes, land
                                       or water

                                       Cell A is
                                       straightforward

                                       What category to
                                       assign for B, C, or
                                       D?

12




                                                                 6
Raster Coding
      In the data entry process, maps can be
      digitized or scanned at a selected cell size
      and each cell assigned a code or a value.
      The methods for assigning cell codes are:
1.    Presence/Absence
2.    Cell Center
3.    Dominant Area
4.    Percent Coverage (advanced method)

 13




                 Presence/Absence


   The most basic method is to record a feature
if some of it occurs in the cell space.

   The only practical way of coding point and
line features, because they don’t take up much
area of a cell.



 14




                                                     7
Cell Center

     This method involves reading only the
     center of the cell and assigning the code
     accordingly.

     When there are multiple features in a cell
     area, the one in the center wins the code.

     This is no a good scheme for points or
     lines, because they don’t necessarily pass
     through the exact center.
15




                Dominant Area

     A common method is to assign the cell
     code to the feature with the largest
     (dominant) share of the cell.

     This is suitable primarily for polygons,
     although line features could be assigned
     according to which one has the most linear
     distance in a cell.


16




                                                  8
17




          Types of Raster Data
1. Satellite Imagery: Imagery acquired from
   satellites such as Landsat and Spot.
2. Digital Elevation Models (DEMs): The
   representation of continuous elevation values
   over a topographic surface by a regular array of
   z-values referenced to a common datum.
3. Digital Orthophotos Quadrangles (DOQ): The
   scanned photographic images that have been
   corrected for distortions due to camera tilt,
   terrain displacement, and other factors.


18




                                                      9
Types of Raster Data (continued)
4. Bi-Level Scanned Files: The scanned images
   containing values of 1 and 0, they are usually
   scanned from paper maps.
5. Digital Raster Graphics (DRGs): The scanned
   images of USGS topographic maps.
6. Graphic Files: Maps, photographs, and images
   can be stored as raster graphic files such as
   TIFF (tagged image file format),
   GIDF( graphics interchange format), and
   JPEG( joint photographic expert group).


19




      Types of Raster Data (continued)
7. GIS Software-Specific Raster Data: GIS
   packages use raster data that are
   imported from DEMs, satellite images,
   scanned images, graphic files, and ASCII
   files or are converted from vector data.
   The GIS software packages store raster
   data in different formats, for example,
   ArcGIS stores raster data in the ESRI
   Grid format.

20




                                                    10
DEMs at three resolutions: 30 meters, 10 meters, and 3 meters. The 30-m and
10-m DEMs are USGS DEMs. The 3-m DEM is a derived product from LIDAR
data.


21




            USGS 1-meter black-and-white DOQ for Sun Valley, Idaho.
22




                                                                              11
A bi-level scanned file showing soil lines.

23




          USGS DRG for Sun Valley, Idaho.

24




                                                   12
Raster Data Structures
      – Raster data stored as an array of values
         • Georeferencing is implicit in the structure
         • Usually defined by one corner of the image and
           the cell size
         • Attributes are defined by the cell values (no
           character data!)
         • One attribute for each raster file




25




 Raster Data Structure (continued)
     Raster data structure refers to the method or
     format for storing raster data.

   The three common methods for storing raster
   data are:
1. Cell-by-Cell Encoding
2. Run Length Encoding
3. Quad Tree



26




                                                            13
Cell-by-Cell Encoding
   The cell-by-cell encoding
 method provides the
 simplest raster data
 structure.
   A raster is stored as a
 matrix, and its cell values
 are written into a file by
 row and column.



27




Run- Length Encoding (RLE)

  The run length encoding method
is a raster data structure that
records the cell values by row and
by group.

  This method records the cell
values in runs. Row 1, for example,
has two adjacent cells in columns 5
and 6 that are gray or have the
value of 1. Row 1 is therefore
encoded with one run, beginning in
column 5 and ending in column 6.
The same method is used to record
other rows.
28




                                      14
Quad Tree
  The regional quad tree
method divides a raster into
a hierarchy of quadrants.
The division stops when a
quadrant is made of cells of
the same value (gray or
white).
  A quadrant that cannot be
subdivided is called a leaf
node.
   In the diagram, the
quadrants     are    indexed
spatially: 0 for NW, 1 for
SW, 2 for SE, and 3 for NE.
  Using the spatial indexing
method and the hierarchical
quad tree structure, the
gray cells can be coded as
02, 032, and so on.
  29




Rasters: The Storage Space/Resolution Tradeoff




  Decreasing the cell size by one-fourth causes a
     four-fold increase in the storage space
          required for the raster data.
 30




                                                    15
Raster Data Compression
       Data compression refers to the reduction of data
     volume.
       A variety of techniques are available for image
     compression. Compression techniques can be
     lossless or lossy.
       Lossless Compression: One type of data
     compression that allows the original image to be
     precisely reconstructed.
     Lossy Compression: One type of data
   compression that can achieve high compression
   ratios but cannot reconstruct fully the original
31 image .




      Raster – Advantages and
           Disadvantages
      • Advantages
         –   Simple data structure
         –   Easy overlay
         –   Various kinds of spatial analysis
         –   Uniform size and shape
         –   Cheaper technology
      • Disadvantages
         –   Large amount of data
         –   Less “pretty”
         –   Projection transformation is difficult
         –   Different scales between layers can be a nightmare
         –   May lose information due to generalization

32




                                                                  16
33




34




     17

More Related Content

What's hot

Narrow Band Active Contour
Narrow Band Active ContourNarrow Band Active Contour
Narrow Band Active ContourMohammad Sabbagh
 
Effective Sparse Matrix Representation for the GPU Architectures
 Effective Sparse Matrix Representation for the GPU Architectures Effective Sparse Matrix Representation for the GPU Architectures
Effective Sparse Matrix Representation for the GPU ArchitecturesIJCSEA Journal
 
REGION CLASSIFICATION BASED IMAGE DENOISING USING SHEARLET AND WAVELET TRANSF...
REGION CLASSIFICATION BASED IMAGE DENOISING USING SHEARLET AND WAVELET TRANSF...REGION CLASSIFICATION BASED IMAGE DENOISING USING SHEARLET AND WAVELET TRANSF...
REGION CLASSIFICATION BASED IMAGE DENOISING USING SHEARLET AND WAVELET TRANSF...csandit
 
Automatic left ventricle segmentation
Automatic left ventricle segmentationAutomatic left ventricle segmentation
Automatic left ventricle segmentationahmad abdelhafeez
 
Image classification, remote sensing, P K MANI
Image classification, remote sensing, P K MANIImage classification, remote sensing, P K MANI
Image classification, remote sensing, P K MANIP.K. Mani
 
Comparison of Segmentation Algorithms and Estimation of Optimal Segmentation ...
Comparison of Segmentation Algorithms and Estimation of Optimal Segmentation ...Comparison of Segmentation Algorithms and Estimation of Optimal Segmentation ...
Comparison of Segmentation Algorithms and Estimation of Optimal Segmentation ...Pinaki Ranjan Sarkar
 
Digital image classification
Digital image classificationDigital image classification
Digital image classificationAleemuddin Abbasi
 
Importance of Mean Shift in Remote Sensing Segmentation
Importance of Mean Shift in Remote Sensing SegmentationImportance of Mean Shift in Remote Sensing Segmentation
Importance of Mean Shift in Remote Sensing SegmentationIOSR Journals
 
An Efficient Arabic Text Spotting from Natural Scenes Images
An Efficient Arabic Text Spotting from Natural Scenes ImagesAn Efficient Arabic Text Spotting from Natural Scenes Images
An Efficient Arabic Text Spotting from Natural Scenes ImagesReham Marzouk
 
Digital image classification22oct
Digital image classification22octDigital image classification22oct
Digital image classification22octAleemuddin Abbasi
 
Super-Resolution of Multispectral Images
Super-Resolution of Multispectral ImagesSuper-Resolution of Multispectral Images
Super-Resolution of Multispectral Imagesijsrd.com
 
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...Habibur Rahman
 
Feature Based Image Classification by using Principal Component Analysis
Feature Based Image Classification by using Principal Component AnalysisFeature Based Image Classification by using Principal Component Analysis
Feature Based Image Classification by using Principal Component AnalysisIT Industry
 
Mayer.r aziz.t.a rauber.a:visualising class distribution on som_ie colour and...
Mayer.r aziz.t.a rauber.a:visualising class distribution on som_ie colour and...Mayer.r aziz.t.a rauber.a:visualising class distribution on som_ie colour and...
Mayer.r aziz.t.a rauber.a:visualising class distribution on som_ie colour and...ArchiLab 7
 
Le projet “Canadian Spatial Data Foundry”: Introduction à PostGIS WKT Raster
Le projet “Canadian Spatial Data Foundry”: Introduction à PostGIS WKT RasterLe projet “Canadian Spatial Data Foundry”: Introduction à PostGIS WKT Raster
Le projet “Canadian Spatial Data Foundry”: Introduction à PostGIS WKT RasterACSG Section Montréal
 
Pami meanshift
Pami meanshiftPami meanshift
Pami meanshiftirisshicat
 
PCA and Classification
PCA and ClassificationPCA and Classification
PCA and ClassificationFatwa Ramdani
 

What's hot (20)

regions
regionsregions
regions
 
Narrow Band Active Contour
Narrow Band Active ContourNarrow Band Active Contour
Narrow Band Active Contour
 
Effective Sparse Matrix Representation for the GPU Architectures
 Effective Sparse Matrix Representation for the GPU Architectures Effective Sparse Matrix Representation for the GPU Architectures
Effective Sparse Matrix Representation for the GPU Architectures
 
REGION CLASSIFICATION BASED IMAGE DENOISING USING SHEARLET AND WAVELET TRANSF...
REGION CLASSIFICATION BASED IMAGE DENOISING USING SHEARLET AND WAVELET TRANSF...REGION CLASSIFICATION BASED IMAGE DENOISING USING SHEARLET AND WAVELET TRANSF...
REGION CLASSIFICATION BASED IMAGE DENOISING USING SHEARLET AND WAVELET TRANSF...
 
Automatic left ventricle segmentation
Automatic left ventricle segmentationAutomatic left ventricle segmentation
Automatic left ventricle segmentation
 
Image classification, remote sensing, P K MANI
Image classification, remote sensing, P K MANIImage classification, remote sensing, P K MANI
Image classification, remote sensing, P K MANI
 
Comparison of Segmentation Algorithms and Estimation of Optimal Segmentation ...
Comparison of Segmentation Algorithms and Estimation of Optimal Segmentation ...Comparison of Segmentation Algorithms and Estimation of Optimal Segmentation ...
Comparison of Segmentation Algorithms and Estimation of Optimal Segmentation ...
 
Digital image classification
Digital image classificationDigital image classification
Digital image classification
 
Importance of Mean Shift in Remote Sensing Segmentation
Importance of Mean Shift in Remote Sensing SegmentationImportance of Mean Shift in Remote Sensing Segmentation
Importance of Mean Shift in Remote Sensing Segmentation
 
An Efficient Arabic Text Spotting from Natural Scenes Images
An Efficient Arabic Text Spotting from Natural Scenes ImagesAn Efficient Arabic Text Spotting from Natural Scenes Images
An Efficient Arabic Text Spotting from Natural Scenes Images
 
93 98
93 9893 98
93 98
 
Digital image classification22oct
Digital image classification22octDigital image classification22oct
Digital image classification22oct
 
Super-Resolution of Multispectral Images
Super-Resolution of Multispectral ImagesSuper-Resolution of Multispectral Images
Super-Resolution of Multispectral Images
 
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
 
Feature Based Image Classification by using Principal Component Analysis
Feature Based Image Classification by using Principal Component AnalysisFeature Based Image Classification by using Principal Component Analysis
Feature Based Image Classification by using Principal Component Analysis
 
Mayer.r aziz.t.a rauber.a:visualising class distribution on som_ie colour and...
Mayer.r aziz.t.a rauber.a:visualising class distribution on som_ie colour and...Mayer.r aziz.t.a rauber.a:visualising class distribution on som_ie colour and...
Mayer.r aziz.t.a rauber.a:visualising class distribution on som_ie colour and...
 
Final Paper 2
Final Paper 2Final Paper 2
Final Paper 2
 
Le projet “Canadian Spatial Data Foundry”: Introduction à PostGIS WKT Raster
Le projet “Canadian Spatial Data Foundry”: Introduction à PostGIS WKT RasterLe projet “Canadian Spatial Data Foundry”: Introduction à PostGIS WKT Raster
Le projet “Canadian Spatial Data Foundry”: Introduction à PostGIS WKT Raster
 
Pami meanshift
Pami meanshiftPami meanshift
Pami meanshift
 
PCA and Classification
PCA and ClassificationPCA and Classification
PCA and Classification
 

Viewers also liked

Conceptual models of real world geographical phenomena (epm107_2007)
Conceptual models of real world geographical phenomena (epm107_2007)Conceptual models of real world geographical phenomena (epm107_2007)
Conceptual models of real world geographical phenomena (epm107_2007)esambale
 
datamodel_vector
datamodel_vectordatamodel_vector
datamodel_vectorRiya Gupta
 
Gis Tutorial Purnawan
Gis Tutorial PurnawanGis Tutorial Purnawan
Gis Tutorial PurnawanKodok Ngorex
 
GIS Data Models Explained
GIS Data Models ExplainedGIS Data Models Explained
GIS Data Models ExplainedNicole Ceranek
 
ppt spatial data
ppt spatial datappt spatial data
ppt spatial dataRahul Kumar
 
Data Models - GIS I
Data Models - GIS IData Models - GIS I
Data Models - GIS IJohn Reiser
 
Spatial Data Science with R
Spatial Data Science with RSpatial Data Science with R
Spatial Data Science with Ramsantac
 
The 2015 Millennial Majority Workforce: Study Results
The 2015 Millennial Majority Workforce: Study ResultsThe 2015 Millennial Majority Workforce: Study Results
The 2015 Millennial Majority Workforce: Study ResultsElance-oDesk
 

Viewers also liked (18)

Gis Concepts 2/5
Gis Concepts 2/5Gis Concepts 2/5
Gis Concepts 2/5
 
Conceptual models of real world geographical phenomena (epm107_2007)
Conceptual models of real world geographical phenomena (epm107_2007)Conceptual models of real world geographical phenomena (epm107_2007)
Conceptual models of real world geographical phenomena (epm107_2007)
 
datamodel_vector
datamodel_vectordatamodel_vector
datamodel_vector
 
Raster
RasterRaster
Raster
 
Gis Tutorial Purnawan
Gis Tutorial PurnawanGis Tutorial Purnawan
Gis Tutorial Purnawan
 
GIS Data Models Explained
GIS Data Models ExplainedGIS Data Models Explained
GIS Data Models Explained
 
Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
 
Mapping Your Data 1
Mapping Your Data 1Mapping Your Data 1
Mapping Your Data 1
 
Raster data model
Raster data modelRaster data model
Raster data model
 
GIS data structure
GIS data structureGIS data structure
GIS data structure
 
Vectors and Rasters
Vectors and RastersVectors and Rasters
Vectors and Rasters
 
TYBSC IT SEM 6 GIS
TYBSC IT SEM 6 GISTYBSC IT SEM 6 GIS
TYBSC IT SEM 6 GIS
 
Spatial Data Model
Spatial Data ModelSpatial Data Model
Spatial Data Model
 
ppt spatial data
ppt spatial datappt spatial data
ppt spatial data
 
Data Models - GIS I
Data Models - GIS IData Models - GIS I
Data Models - GIS I
 
GIS Data Types
GIS Data TypesGIS Data Types
GIS Data Types
 
Spatial Data Science with R
Spatial Data Science with RSpatial Data Science with R
Spatial Data Science with R
 
The 2015 Millennial Majority Workforce: Study Results
The 2015 Millennial Majority Workforce: Study ResultsThe 2015 Millennial Majority Workforce: Study Results
The 2015 Millennial Majority Workforce: Study Results
 

Similar to Raster and Vector Data Models: Comparing Raster and Vector Formats

introduction to geographical information system
introduction to geographical information systemintroduction to geographical information system
introduction to geographical information systemDrVenkateswarluGogan1
 
Raster data model
Raster data modelRaster data model
Raster data modelPramoda Raj
 
Raster data model
Raster data modelRaster data model
Raster data modelPramoda Raj
 
Data models in geographical information system(GIS)
Data models in geographical information system(GIS)Data models in geographical information system(GIS)
Data models in geographical information system(GIS)Pramoda Raj
 
Vector and Raster Data data model
Vector and Raster Data data modelVector and Raster Data data model
Vector and Raster Data data modelCalcutta University
 
Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_coursePedro Correia
 
Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_coursePedro Correia
 
raster data model
raster data modelraster data model
raster data modelRiya Gupta
 
Scattered gis handbook
Scattered gis handbookScattered gis handbook
Scattered gis handbookWaleed Liaqat
 
THE NATURE AND SOURCE OF GEOGRAPHIC DATA
THE NATURE AND SOURCE OF GEOGRAPHIC DATATHE NATURE AND SOURCE OF GEOGRAPHIC DATA
THE NATURE AND SOURCE OF GEOGRAPHIC DATANadia Aziz
 
Modelo de dados vetorial e matricial - slides
Modelo de dados vetorial e matricial - slidesModelo de dados vetorial e matricial - slides
Modelo de dados vetorial e matricial - slidesLuzianeRibeiroIndjai
 
Vector data model
Vector data model Vector data model
Vector data model Pramoda Raj
 

Similar to Raster and Vector Data Models: Comparing Raster and Vector Formats (20)

Geographical Information System (GIS)
Geographical Information System (GIS)Geographical Information System (GIS)
Geographical Information System (GIS)
 
introduction to geographical information system
introduction to geographical information systemintroduction to geographical information system
introduction to geographical information system
 
Four data models in GIS
Four data models in GISFour data models in GIS
Four data models in GIS
 
Raster data model
Raster data modelRaster data model
Raster data model
 
Raster data model
Raster data modelRaster data model
Raster data model
 
28d37b_L3 GIS.pdf
28d37b_L3 GIS.pdf28d37b_L3 GIS.pdf
28d37b_L3 GIS.pdf
 
Geoinformatics.pptx
Geoinformatics.pptxGeoinformatics.pptx
Geoinformatics.pptx
 
Raster data ppt
Raster data pptRaster data ppt
Raster data ppt
 
Data models in geographical information system(GIS)
Data models in geographical information system(GIS)Data models in geographical information system(GIS)
Data models in geographical information system(GIS)
 
GIS fundamentals - raster
GIS fundamentals - rasterGIS fundamentals - raster
GIS fundamentals - raster
 
Vector and Raster Data data model
Vector and Raster Data data modelVector and Raster Data data model
Vector and Raster Data data model
 
Understanding raster
Understanding rasterUnderstanding raster
Understanding raster
 
Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_course
 
Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_course
 
raster data model
raster data modelraster data model
raster data model
 
Scattered gis handbook
Scattered gis handbookScattered gis handbook
Scattered gis handbook
 
Raster data and Vector data
Raster data and Vector dataRaster data and Vector data
Raster data and Vector data
 
THE NATURE AND SOURCE OF GEOGRAPHIC DATA
THE NATURE AND SOURCE OF GEOGRAPHIC DATATHE NATURE AND SOURCE OF GEOGRAPHIC DATA
THE NATURE AND SOURCE OF GEOGRAPHIC DATA
 
Modelo de dados vetorial e matricial - slides
Modelo de dados vetorial e matricial - slidesModelo de dados vetorial e matricial - slides
Modelo de dados vetorial e matricial - slides
 
Vector data model
Vector data model Vector data model
Vector data model
 

Recently uploaded

Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 

Recently uploaded (20)

INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 

Raster and Vector Data Models: Comparing Raster and Vector Formats

  • 1. Lecture 06 Raster and Vector Data Models Part (1) 1 Common Data Models Vector Raster Y Points Points ( x,y ) Area Area Line Line X 2 1
  • 2. • Raster uses a grid cell structure 3 • Vector is more like a drawn map 4 2
  • 3. 5 Raster Data Model A raster represents a continuous surface, but for data storage and analysis, a raster is divided into rows, columns, and cells. Raster data represent points by single cells, lines by sequences of neighboring cells, and areas by collections of contiguous cells. 6 3
  • 4. A continuous elevation raster with darker shades for higher elevations. 7 Representation of point, line, and area features: raster format on the left and vector format on the right. 8 4
  • 5. Raster Data Model • A raster data model uses a grid. • One grid cell is one unit or holds one attribute. • Every cell has a value, even if it is “missing.” • A cell can hold a number or an index value standing for an attribute. • A cell has a resolution, given as the cell size in ground units. 9 Generic structure for a grid 10 5
  • 6. Elements of Raster Data Model 1. Cell value. Each cell in a raster carries a value, which represents the characteristic of a spatial phenomenon at the location denoted by its row and column. The cell value can be integer or floating-point. 2. Cell size. The cell size determines the resolution of the raster data model. 3. Raster bands. A raster may have a single band or multiple bands. 4. Spatial reference. Raster data must have the spatial reference information so that they can align spatially with other data sets in a GIS. 11 Raster – The Mixed Pixel Problem Land cover map – Two classes, land or water Cell A is straightforward What category to assign for B, C, or D? 12 6
  • 7. Raster Coding In the data entry process, maps can be digitized or scanned at a selected cell size and each cell assigned a code or a value. The methods for assigning cell codes are: 1. Presence/Absence 2. Cell Center 3. Dominant Area 4. Percent Coverage (advanced method) 13 Presence/Absence The most basic method is to record a feature if some of it occurs in the cell space. The only practical way of coding point and line features, because they don’t take up much area of a cell. 14 7
  • 8. Cell Center This method involves reading only the center of the cell and assigning the code accordingly. When there are multiple features in a cell area, the one in the center wins the code. This is no a good scheme for points or lines, because they don’t necessarily pass through the exact center. 15 Dominant Area A common method is to assign the cell code to the feature with the largest (dominant) share of the cell. This is suitable primarily for polygons, although line features could be assigned according to which one has the most linear distance in a cell. 16 8
  • 9. 17 Types of Raster Data 1. Satellite Imagery: Imagery acquired from satellites such as Landsat and Spot. 2. Digital Elevation Models (DEMs): The representation of continuous elevation values over a topographic surface by a regular array of z-values referenced to a common datum. 3. Digital Orthophotos Quadrangles (DOQ): The scanned photographic images that have been corrected for distortions due to camera tilt, terrain displacement, and other factors. 18 9
  • 10. Types of Raster Data (continued) 4. Bi-Level Scanned Files: The scanned images containing values of 1 and 0, they are usually scanned from paper maps. 5. Digital Raster Graphics (DRGs): The scanned images of USGS topographic maps. 6. Graphic Files: Maps, photographs, and images can be stored as raster graphic files such as TIFF (tagged image file format), GIDF( graphics interchange format), and JPEG( joint photographic expert group). 19 Types of Raster Data (continued) 7. GIS Software-Specific Raster Data: GIS packages use raster data that are imported from DEMs, satellite images, scanned images, graphic files, and ASCII files or are converted from vector data. The GIS software packages store raster data in different formats, for example, ArcGIS stores raster data in the ESRI Grid format. 20 10
  • 11. DEMs at three resolutions: 30 meters, 10 meters, and 3 meters. The 30-m and 10-m DEMs are USGS DEMs. The 3-m DEM is a derived product from LIDAR data. 21 USGS 1-meter black-and-white DOQ for Sun Valley, Idaho. 22 11
  • 12. A bi-level scanned file showing soil lines. 23 USGS DRG for Sun Valley, Idaho. 24 12
  • 13. Raster Data Structures – Raster data stored as an array of values • Georeferencing is implicit in the structure • Usually defined by one corner of the image and the cell size • Attributes are defined by the cell values (no character data!) • One attribute for each raster file 25 Raster Data Structure (continued) Raster data structure refers to the method or format for storing raster data. The three common methods for storing raster data are: 1. Cell-by-Cell Encoding 2. Run Length Encoding 3. Quad Tree 26 13
  • 14. Cell-by-Cell Encoding The cell-by-cell encoding method provides the simplest raster data structure. A raster is stored as a matrix, and its cell values are written into a file by row and column. 27 Run- Length Encoding (RLE) The run length encoding method is a raster data structure that records the cell values by row and by group. This method records the cell values in runs. Row 1, for example, has two adjacent cells in columns 5 and 6 that are gray or have the value of 1. Row 1 is therefore encoded with one run, beginning in column 5 and ending in column 6. The same method is used to record other rows. 28 14
  • 15. Quad Tree The regional quad tree method divides a raster into a hierarchy of quadrants. The division stops when a quadrant is made of cells of the same value (gray or white). A quadrant that cannot be subdivided is called a leaf node. In the diagram, the quadrants are indexed spatially: 0 for NW, 1 for SW, 2 for SE, and 3 for NE. Using the spatial indexing method and the hierarchical quad tree structure, the gray cells can be coded as 02, 032, and so on. 29 Rasters: The Storage Space/Resolution Tradeoff Decreasing the cell size by one-fourth causes a four-fold increase in the storage space required for the raster data. 30 15
  • 16. Raster Data Compression Data compression refers to the reduction of data volume. A variety of techniques are available for image compression. Compression techniques can be lossless or lossy. Lossless Compression: One type of data compression that allows the original image to be precisely reconstructed. Lossy Compression: One type of data compression that can achieve high compression ratios but cannot reconstruct fully the original 31 image . Raster – Advantages and Disadvantages • Advantages – Simple data structure – Easy overlay – Various kinds of spatial analysis – Uniform size and shape – Cheaper technology • Disadvantages – Large amount of data – Less “pretty” – Projection transformation is difficult – Different scales between layers can be a nightmare – May lose information due to generalization 32 16
  • 17. 33 34 17