Spatial Data Models Raster uses individual cells in a matrix, or grid, format to represent real world entities Vector uses coordinates to store the shape.

Slides:



Advertisements
Similar presentations
Geographic Information Systems GIS Data Models. 1. Components of Geographic Data Spatial locations Attributes Topology Time.
Advertisements

Geographic Information Systems
Center for Modeling & Simulation.  A Map is the most effective shorthand to show locations of objects with attributes, which can be physical or cultural.
WFM 6202: Remote Sensing and GIS in Water Management © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 6202: Remote Sensing and GIS in Water Management Akm.
Raster Based GIS Analysis
School of Environmental Sciences University of East Anglia
Introduction to Cartography GEOG 2016 E
Maps as Numbers Getting Started with GIS Chapter 3.
Cartographic and GIS Data Structures
Geographic Information Systems
Spatial Information Systems (SIS) COMP Raster-based structures (2) Data conversion.
Geographic Information Systems. What is a Geographic Information System (GIS)? A GIS is a particular form of Information System applied to geographical.
Spatial Information Systems (SIS) COMP Raster-based structures (1)
Lecture 06: Map Data Structures Geography 128 Analytical and Computer Cartography Spring 2007 Department of Geography University of California, Santa Barbara.
Geographic Information Systems : Data Types, Sources and the ArcView Program.
NPS Introduction to GIS: Lecture 1
©2005 Austin Troy. All rights reserved Lecture 3: Introduction to GIS Part 1. Understanding Spatial Data Structures by Austin Troy, University of Vermont.
Introduction to Mapping Science: Lecture #4 (Maps as numbers…) Overview Map as Numbers… an Abstraction of Space Database Management System for Attributes.
Dr. David Liu Objectives  Understand what a GIS is  Understand how a GIS functions  Spatial data representation  GIS application.
GI Systems and Science January 23, Points to Cover  What is spatial data modeling?  Entity definition  Topology  Spatial data models Raster.
Raster and Vector 2 Major GIS Data Models. Raster and Vector 2 Major GIS Data Models.
Introduction to Digital Data and Imagery
Spatial data Visualization spatial data Ruslan Bobov
Spatial Data Model: Basic Data Types 2 basic spatial data models exist vector: based on geometry of points lines Polygons raster: based on geometry of.
©2005 Austin Troy. All rights reserved Lecture 3: Introduction to GIS Understanding Spatial Data Structures by Austin Troy, Leslie Morrissey, & Ernie Buford,
Spatial data models (types)
SPATIAL DATA STRUCTURES
GROUP 4 FATIN NUR HAFIZAH MULLAI J.DHANNIYA FARAH AN-NUR MOHAMAD AZUWAN LAU WAN YEE.
GIS Applications in Civil Engineering
Map Scale, Resolution and Data Models. Components of a GIS Map Maps can be displayed at various scales –Scale - the relationship between the size of features.
Coordinate Systems Global Coordinate System – Latitude, Longitude and elevation UTM – eastings and northings, reference points are the equator and the.
GUS: 0262 Fundamentals of GIS Lecture Presentation 6: Raster Data Model Jeremy Mennis Department of Geography and Urban Studies Temple University.
Faculty of Applied Engineering and Urban Planning Civil Engineering Department Geographic Information Systems Vector and Raster Data Models Lecture 3 Week.
Presented by Rehana Jamal (GIS Expert & Geographer) Dated: Advance Applications of RS/GIS in Geo-Environmental Conservation Subject Lecture# 9&10.
Geographic Information System GIS This project is implemented through the CENTRAL EUROPE Programme co-financed by the ERDF GIS Geographic Inf o rmation.
Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-2 Chapters 3 and 4.
GIS Data Structure: an Introduction
Chapter 3 Digital Representation of Geographic Data.
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
How do we represent the world in a GIS database?
Raster Data Model.
Cartographic and GIS Data Structures Dr. Ahmad BinTouq URL:
Geographic Information Systems Data Analysis. What is GIS Data ?
Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations.
1 Spatial Data Models and Structure. 2 Part 1: Basic Geographic Concepts Real world -> Digital Environment –GIS data represent a simplified view of physical.
GIS Data Structures How do we represent the world in a GIS database?
GIS Data Types. GIS technology utilizes two basic types of data 1. Spatial Data Describes the absolute and relative location of geographic features.
INTRODUCTION TO GIS  Used to describe computer facilities which are used to handle data referenced to the spatial domain.  Has the ability to inter-
Introduction to Geographic Information Systems
Data Models, Pixels, and Satellite Bands. Understand the differences between raster and vector data. What are digital numbers (DNs) and what do they.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
Raster Data Models: Data Compression Why? –Save disk space by reducing information content –Methods Run-length codes Raster chain codes Block codes Quadtrees.
Spatial Data Models Geography is concerned with many aspects of our environment. From a GIS perspective, we can identify two aspects which are of particular.
UNIT 3 – MODULE 3: Raster & Vector
Czech Technical University in Prague Faculty of Transportation Sciences Department of Transport Telematics Doc. Ing. Pavel Hrubeš, Ph.D. Geographical Information.
Introduction to GIS Data Management CGIS-NURIntroduction to ArcGIS I.
Let’s consider this process and try to build a couple
GEOGRAPHICAL INFORMATION SYSTEM
Spatial Data Models.
INTRODUCTION TO GEOGRAPHICAL INFORMATION SYSTEM
Digital Data Format and Storage
Chapter 3 Raster & Vector Data.
Hazards Planning and Risk Management
Statistical surfaces: DEM’s
Data Queries Raster & Vector Data Models
Cartographic and GIS Data Structures
Geographic Information Systems
NPS Introduction to GIS: Lecture 1 Based on NIMC and Other Sources.
Prepared by S Krishna Kumar
Presentation transcript:

Spatial Data Models Raster uses individual cells in a matrix, or grid, format to represent real world entities Vector uses coordinates to store the shape of spatial data objects In a GIS, real world entities are represented as objects in a data model. There are two basic data models in GIS: vector and raster. Vector definition Raster definition Let’s start with vector

Raster Data Model In the raster data model, the primary data object is the cell or pixel You are familiar with these if you have used a digital camera or viewed a computer monitor We’ve talked about Vector databases that use a point as a primary object. And in vector, topology stores the relationship between the elements. There is another data model: The Raster. Raster is also known as a grid model because the landscape is divided into a regular grid

Raster data example 75 70 79 80 78 12 50 81 15 14 69 10 9 85 11 90

Raster Data Model The raster data model represents the Earth’s surface as an array of two-dimensional grid cells, with each cell having an associated value: 1 2 3 5 8 4 6 9 7 Cell (x,y) Cell value rows Cell size = resolution columns

Raster Data Model Every cell has a value, even if it is a special value to indicate that there is “no data” or that data is “missing” at that location The values are numbers, either: actual values OR codes representing an attribute In the raster model, each grid cell contains one attribute value. That value is a number which is an absolute value is a code that represents some attribute

Cells - Absolute Values In this instance, the value of the cell represents the value of the phenomenon of interest, e.g. the elevation at that pixel location. In the case of elevation, each cell contains a number that is the elevation of that cell.

Cells - Coded Values Here, the values stored in each cell are used as substitutes for categorical data, e.g. land cover classes: In this case, each cell contains a value which represents one particular type of land cover.

Grids and missing data Missing values are represented by values which are software specific. In the case of ArcInfo and ArcView, if you ever see a value of –9999, that indicates missing data. Clarke, K.C., Figure 3.8: GIS data layer as a grid with a large section of “missing data,” in this case, the zeros in the ocean off of New York and New Jersey

Cell Size & Resolution The size of the cells in the raster data model determines the resolution at which features can be represented The resolution can have an effect on which features are represented in what locations: 10 m Resolution 5 m Resolution 1 m Resolution Spatial resolution is the smallest resolution that can be resolved So let’s stop a minute and think about resolution. With raster, we don’t represent real world objects with shapes that closely approximate their own shape. We represent the real world with a matrix of equal-sized squares. The finer the resolution, meaning the smaller the area represented by each cell, the better we can represent detail. But if you think about laying a grid of 1 meter by 1 meter in this room, how would you assign a value to each cell? Keep in mind that each cell can only contain 1 value.

Raster Data Model - Objects The raster data model still represents spatial objects, but does so differently from the vector model: Geographic Primitives Points 0 dimensional Lines 1 dimensional Polygons 2 dimensional The vector model is composed of three basic spatial objects, known as geographic primitives. They are known as this because they are the basis of geographic entities.

Raster Data Model - Points 1 point = 1 cell + What problems do we have here? 2 points in a pixel Point on a border

Raster Data Model - Lines A line = a series of connected cells that portray length Problems with this representation? Line may be narrower than pixels show. e.g. Road layer: how much of a road needs to be in a cell in order to be considered a ‘road’ cell?

Raster Data Model - Areas Area = a group of connected cells that portray a shape What problems could we have with this representation? What if a lake’s edge falls in a pixel?

Rules for Assigning Cell Values Cell values can be assigned to cells accorded to some set of rules, and selecting those rules differently can also effect the representation of features: Here’s another example. You have 9 cells here overlain on top of some water and some grass. What value would you assign to this cell? Well, here are three possible decision rules that you could use. We will talk more about cell resolution when we get to satellite data.

Raster and Vector Data Model Comparison Real World Features Raster Vector • “A raster model tells what occurs everywhere, while a vector model tells where every thing occurs”

Raster Data Model - Storage There is a trade-off between spatial resolution and data storage when we use the raster data model, e.g. 60 km satellite image with 10m cell size 6000 X 6000 = 36,000,000 cells 1 byte of attribute value (i.e. values 0-255) ~36 MB of disk storage! 60 km satellite image with 100m cell size 600 x 600 = 360,000 cells 360 KB of data… 1% the size of the other one This is just simple math.

Raster Data Model – Compaction Because the raster data model records a value for each and every cell in a grid, it is very storage intensive, meaning that it can use a lot of memory and disk space to represent a theme Compaction techniques are used in conjunction with raster data to reduce the amount of required storage space to a more manageable amount

Raster Data Storage – No Compaction This approach represents each cell individually in the file: max. cell value rows columns 1 10, 10, 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 1 0 0 Problem: too much redundancy 103 values

Raster Data Storage – Run Length Encoding This approach takes advantage of patterns in the data, taking advantage of the repetition of values in a row: header 10,10,1 0, 10 0, 4, 1, 4, 0,2 0, 2, 1, 6, 0,2 1 row by row 45 values There is a tendency towards spatial autocorrelation; for nearby cells to have similar values - values often occur in runs across several cells

Data Compression Models (Cont.) Quadtrees Recursively divides an area into four quadrants until all the quadrants (at all levels) are homogeneous 1 3 2 ROOT NW NE SE SW 1 2 3 2 3

Vector to Raster Transformations Quite often, data in the vector and raster models need to be used together One dataset is generally transformed to be represented in the other model, introducing distortion. It’s possible to convert from vector to raster, or vice versa. But it’s important to understand what happens when you do so.

Vector Data Model - Advantages It is a good representation of the world as we see it (our visual systems automatically segments the world we see by identifying objects) The topology of a layer can be fully described and explicitly stored It is efficient in terms of data storage It only uses storage for objects of interest and does not need to store values for the spaces in between No jaggy edges (raster has these on any diagonal) Useful for network analysis and modeling flows of linear features

Vector Data Model - Disadvantages The data structure is more complex especially when you have fully encoded topology (i.e. using the arc-node model) It is more difficult to write computer programs to manipulate data Spatial analysis operations can be more difficult

Raster Data Model - Advantages The data structure is much simpler It is easy to overlay and combine layers This model better represents continuous data Raster data is easily integrated with satellite (and other remotely-sensed) data Writing programs to manipulate raster is easier It is easy to do simulation modeling due to uniform size and shape of grids (i.e. it is easy to define uniform modeling units)

Raster Data Model - Disadvantages Because a value must be stored for each and every cell in a grid, there is a great deal of redundancy and large storage requirements Location can be captured only as accurately as the resolution allows, which is determined by the cell size Spatial analyses that are based on topological relationships are not well supported by this model

Which Data Model Should You Use? This can depend upon the type of data you’re using and what goals you’re trying to achieve Vector model: linear features such as rivers, roads, political boundaries Raster model: temperature, elevation (continuous), satellite imagery Usually your choice is determined by data availability