The raster data structure. This is lecture seven

Similar documents
Raster Data Structures

Understanding Raster Data

Representing Geography

Introduction to GIS (Basics, Data, Analysis) & Case Studies. 13 th May Content. What is GIS?

A GIS helps you answer questions and solve problems by looking at your data in a way that is quickly understood and easily shared.

WHAT IS GIS - AN INRODUCTION

DATA VISUALIZATION GABRIEL PARODI STUDY MATERIAL: PRINCIPLES OF GEOGRAPHIC INFORMATION SYSTEMS AN INTRODUCTORY TEXTBOOK CHAPTER 7

Introduction to GIS. Dr F. Escobar, Assoc Prof G. Hunter, Assoc Prof I. Bishop, Dr A. Zerger Department of Geomatics, The University of Melbourne

What is GIS? Geographic Information Systems. Introduction to ArcGIS. GIS Maps Contain Layers. What Can You Do With GIS? Layers Can Contain Features

Lecture 3: Models of Spatial Information

GIS: Geographic Information Systems A short introduction

Institute of Natural Resources Departament of General Geology and Land use planning Work with a MAPS

SPATIAL DATA MODELS AND SPATIAL DATA

Remote Sensing and GIS Application In Change Detection Study In Urban Zone Using Multi Temporal Satellite

Objectives. Raster Data Discrete Classes. Spatial Information in Natural Resources FANR Review the raster data model

Create a folder on your network drive called DEM. This is where data for the first part of this lesson will be stored.

A HYBRID APPROACH FOR AUTOMATED AREA AGGREGATION

GIS Spatial Data Standards

GEOGRAPHIC INFORMATION SYSTEMS CERTIFICATION

Reading Questions. Lo and Yeung, 2007: Schuurman, 2004: Chapter What distinguishes data from information? How are data represented?

Vector storage and access; algorithms in GIS. This is lecture 6

Environmental Remote Sensing GEOG 2021

Tax Parcel Mapping. Visual Representations of Legal Descriptions and So Much More

Questions and Answers

INTRODUCTION TO ARCGIS SOFTWARE

Digital Cadastral Maps in Land Information Systems

GEOENGINE MSc in Geomatics Engineering (Master Thesis) Anamelechi, Falasy Ebere

Introduction to Imagery and Raster Data in ArcGIS

SESSION 8: GEOGRAPHIC INFORMATION SYSTEMS AND MAP PROJECTIONS

The Adobe PostScript Printing Primer

Creating Slope-Enhanced Shaded-Relief Using Global Mapper

Topology and Topological Rules Geometric properties that are maintained in spatial databases

APPLY EXCEL VBA TO TERRAIN VISUALIZATION

COMP175: Computer Graphics. Lecture 1 Introduction and Display Technologies

Lesson 15 - Fill Cells Plugin

METHODS OF GEOREFERENCING OLD MAPS ON THE EXAMPLE OF CZECH EARLY MAPS

Title 10 DEPARTMENT OF NATURAL RESOURCES Division 35 Land Survey Chapter 1 Cadastral Mapping Standards

B.A IN GRAPHIC DESIGN

Implementation Planning

ANALYSIS 3 - RASTER What kinds of analysis can we do with GIS?

Supporting Online Material for Achard (RE ) scheduled for 8/9/02 issue of Science

Title 10 DEPARTMENT OF NATURAL RESOURCES Division 35 Land Survey Chapter 1 Cadastral Mapping Standards

Introduction to Computer Graphics

Lecture 7 - Meshing. Applied Computational Fluid Dynamics

Lecture 9: Geometric map transformations. Cartographic Transformations

NEW DIGITAL TERRAIN MODELING (DTM) TOOLS FOR CABLE ROUTE PLANNING by Dr. Jose M. Andres Makai Ocean Engineering Inc.

Data Storage 3.1. Foundations of Computer Science Cengage Learning

3D Model of the City Using LiDAR and Visualization of Flood in Three-Dimension

Tutorial 6 GPS/Point Shapefile Creation

Data Storage. Chapter 3. Objectives. 3-1 Data Types. Data Inside the Computer. After studying this chapter, students should be able to:

Image Compression through DCT and Huffman Coding Technique

Image Analysis CHAPTER ANALYSIS PROCEDURES

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite

How to georectify an image in ArcMap 10

Structures for Data Compression Responsible persons: Claudia Dolci, Dante Salvini, Michael Schrattner, Robert Weibel

Files Used in this Tutorial

INSTRUCTIONS FOR MAKING 3D,.DWG CONTOUR LINES

Raster: The Other GIS Data

Digitisation Disposal Policy Toolkit

Tradeoff Studies about Storage and Retrieval Efficiency of Boundary Data Representations for LLS, TIGER and DLG Data Structures

Introduction to GIS.

Introduction to ArcView 3.2a

GEOGRAPHIC INFORMATION SYSTEMS

Using Geocoded TIFF & JPEG Files in ER Mapper 6.3 with SP1. Eric Augenstein Earthstar Geographics Web:

A Strategy for Teaching Finite Element Analysis to Undergraduate Students

GPS Applications in Agriculture. Gary T. Roberson Agricultural Machinery Systems

CityGML goes to Broadway

Comparison of different image compression formats. ECE 533 Project Report Paula Aguilera

Grade 5 Math Content 1

Geography 3251: Mountain Geography Assignment III: Natural hazards A Case Study of the 1980s Mt. St. Helens Eruption

Compiled from ESRI s Web site: 1. What Is a GIS?

University of Arkansas Libraries ArcGIS Desktop Tutorial. Section 2: Manipulating Display Parameters in ArcMap. Symbolizing Features and Rasters:

Laurence W. Carstensen Jr. Department of Geography Virginia Polytechnic Institute and State University Blacksburg, VA U.S.A

Adjusting GIS Data to the GCDB

Lecture Notes, CEng 477

What Resolution Should Your Images Be?

User s Guide to ArcView 3.3 for Land Use Planners in Puttalam District

A VOXELIZATION BASED MESH GENERATION ALGORITHM FOR NUMERICAL MODELS USED IN FOUNDRY ENGINEERING

Tutorial 8 Raster Data Analysis

GIS Lesson 6 MAPS WITH RASTER IMAGES III: SATELLITE IMAGERY TEACHER INFORMATION

In mathematics, there are four attainment targets: using and applying mathematics; number and algebra; shape, space and measures, and handling data.

Online Digitizing and Editing of GIS Layers (On-Screen or Head s Up Digitizing)

The Idiots Guide to GIS and Remote Sensing

Digital image processing

Chapter 5: Working with contours

MassArt Studio Foundation: Visual Language Digital Media Cookbook, Fall 2013

Remote Sensing, GPS and GIS Technique to Produce a Bathymetric Map

Scientific Graphing in Excel 2010

WHAT You SHOULD KNOW ABOUT SCANNING

Chapter Contents Page No

Geocoding in Law Enforcement Final Report

The Structure of Geographic Data

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

CHOOSING A COLLEGE. Teacher s Guide Getting Started. Nathan N. Alexander Charlotte, NC

Year 9 set 1 Mathematics notes, to accompany the 9H book.

Microsoft Business Intelligence Visualization Comparisons by Tool

VECTORAL IMAGING THE NEW DIRECTION IN AUTOMATED OPTICAL INSPECTION

SPATIAL DATA ANALYSIS

TerraAmazon - The Amazon Deforestation Monitoring System - Karine Reis Ferreira

Glencoe. correlated to SOUTH CAROLINA MATH CURRICULUM STANDARDS GRADE 6 3-3, , , 4-9

Transcription:

The raster data structure This is lecture seven

Reasons for using raster fields Geographical variation in the real world is infinitely complex The closer you look, the more detail you see, almost without limit It would take an infinitely large database to capture the real world precisely. Raster grid cells allow us to approximate (but not achieve) the variation over a landscape (or field).

Requirement of discretization Data must somehow be reduced to a finite and manageable quantity by a process of generalization or abstraction. We have to pick out the most characteristic features. Geographical variation must be represented in terms of discrete elements or objects Vector data is discretized using polygons, while raster is discretized based on regular cells that exhaustively describe the landscape.

Why raster: picking a data model Tsichritzis and Lochovsky (1977) define a data model as "a set of guidelines for the representation of the logical organization of the data in a database... (consisting) of named logical units of data and the relationships between them." current GISs differ according the way in which they organize reality through the data model each model tends to fit certain types of data and applications better than others

External influences on choice of data model The data model chosen for a particular project or application is also influenced by: the software available the training of the key individuals historical precedent i.e.what model has the institution you work for used in the past? Is there archival data which fits a particular model? There are two major choices of data model - raster and vector.

Characteristics of a raster data model Raster model divides the entire study area into a regular grid of cells in specific sequence. the conventional sequence is row by row from the top left corner. Each cell contains a single value. Raster data models are space-filling since every location in the study area corresponds to a cell in the raster. One set of cells and associated values is a layer.

Comparison with vector Vector model uses discrete line segments or points to identify locations. Discrete objects (boundaries, streams, cities) are formed by connecting line segments. Vector objects do not necessarily fill space, not all locations in space need to be referenced in the model (Empty space is described within boundaries of the polygon).

Location versus attributes A raster model tells what occurs everywhere - at each place in the area. A vector model tells where everything occurs - gives a location to every object. Conceptually, the raster models are the simplest of the available data models.

How to create a raster Consider laying a grid over a map of the city of Vancouver showing land use. Create a raster by coding each cell with a value that represents the majority land use in that cell (or the majority of the cell s area). When complete, every cell will have a coded value.

Encoding rasters 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 (like when satellite imagery is automatically processed). Then it is normally imported into the GIS so that the program can reformat the data for its specific processing needs.

Methods for creating a raster database 1) Cell by cell entry which is tedious and time consuming. 2) Using compression (which relies on SAC) Each layer can contain millions of cells. Average Landsat image is around 7.4 x 106 pixels, average TM scene is about 34.9 x 106 pixels.

Run-length encoding The raster cells values are only entered when there is a value change in a cell row. e.g. the array 0 0 0 1 1 0 0 1 1 1 0 0 1 1 1 0 1 1 1 1 would be entered as 3 0 2 1 2 0 3 1 2 0 3 1 1 0 4 1 This is 16 items to enter, instead of 20 In this case the saving is 20%, but much higher savings usually occur in practice

Need for compression Arrays with each dimension representing one attribute are the most direct way of storing raster information. But if your resolution is very fine, you ll end up with redundant values. i.e. many contiguous cells may contain the same value.

Quadtrees Quadtrees are a compression technique, like run-length encoding and TIFF (used by fax machines). It is a clever technique in that it allows variable storage from fine to coarse resolution depending on the homogeneity of cells in the block. Scale sensitive.

How to make a quadtree The raster scheme is divided into 4 blocks. If a block is homogeneous, then it is stored as a unit. If a block has more than one value of attribute, then it is further broken down into four more blocks. Each of these blocks (that are heterogeneous) are again divided into four blocks and assessed.

How to make a quadtree 2 In each case, when the all same attribute values are found in a block, division stops. This allows a map coverage to be stored at various resolutions depending on the distribution of the attributes. Big areas that are homogeneous are stored as a unit while heterogeneous areas are broken down into finer resolutions.

Let s return to our simple raster map

One way to create a quadtree (block method)

Another method of decomposition (tree method).

Problems with quadtrees (and compression) If you want to analyze a surface, you have to decompress the whole coverage. Two coverages of the same region, each representing different attributes might be stored in completely different configurations. This makes shape analysis and pattern recognition difficult when tracking objects which move and change through time. The only remedy for is to decompress all layers.

Digital raster data Much raster data is already in digital form, as images, etc. However, resampling will likely be needed in order that pixels coincide in each layer Because remote sensing generates images, it is easier to interface with a raster GIS than any other data source. Elevation data is commonly available in digital raster form from agencies such as the US Geological Survey or the CCRS.

Types of raster cell 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

Cell values Many systems only allow integers; others allow different types, but 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 (for example, multiplying alphanumeric characters * integers).

Numbers substituting for ordinal data Integer values often act as code numbers, which "point" to names in an associated table or legend e.g. legend identifying the name of each soil class: 0 = "no class" 1 = "fine sandy loam" 2 = "coarse sand" 3 = "gravel"

One value per cell Each pixel or cell is assumed to have only one value. This is often inaccurate - the boundary of two soil types may run across the middle of a pixel. In such cases the pixel is given the value of the largest fraction of the cell, or the value of the middle point in the cell.

Assigning value to a cell when there are multiple attributes is difficult.

Methods for determing which value is assigned to cells.

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.

Topographic maps On the other hand, a topographic map can show multiple items of information for each location, within limits.

Resolution Important characteristics of a layer are its resolution, orientation and zone(s). In general, resolution can be defined as the minimum linear dimension of the smallest unit of geographic space for which data are recorded.

More resolution 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, small cells.

Orientation The angle between true north and the direction defined by the columns of the raster. This takes the place of topological information that we use with vector systems.

Zones Each zone of a map layer is a set of contiguous locations that exhibit the same value.

Value Value is the item of information stored in a layer for each pixel or cell. Using the example of soil class, every pixel with the value of 1 (fine-sandy soil) has the same value. Cells in the same zone have the same value.

Location Generally location is identified by an ordered pair of coordinates (row and column numbers) that unambiguously identify the location of each unit of geographic space in the raster (cell, pixel, grid cell). Usually the true geographic location (lat,long) of one or more of the corners of the raster is also known (and this is used to reference the whole layer).

Displaying layers The simplest type of values to display are integers. On a color display each integer value can be assigned a unique color. there must be as many colors as integers. If the values have a natural order we will want the sequence of colors to make sense.

Display 2 There should be a legend explaining the meaning of each color. The system should generate the legend automatically based on the descriptions of each value stored with the data layer. On a dot matrix printer shades of grey can be generated by varying the density of dots. If there are too many values for the number of colors, may have to recode the layer before display.

Other options for display It may be appropriate to display the data as a surface. Contours can be "threaded" through the pixels along lines of constant value. The searching operation for finding contours is computer-intensive so may be slow.

Relief map created using IDRISI.

Rasters for the curved earth Because of the problems of fitting a flat raster to the curved surface of the Earth it is common to have to `warp' or `rubber-sheet' rasters to make them fit properly ex. remote sensing displays.

Appropriate raster data Certain kinds of data always come in raster form. digital elevation models remote sensing images

Never use a raster For other kinds of data, use of raster representations makes almost no sense. e.g. never use a raster to represent a sewer network, if the application requires accurate connectivity coding 1 in cells where a sewer is present, 0 elsewhere if two adjacent cells both have 1, that's no guarantee the sewers they contain are connected Never use a raster to represent land ownership parcels. By definition, the boundary between two survey points is a mathematically straight line. The jagged appearance of a raster representation would

Display versus resolution With very precise machines, it's easy to believe the accuracy of the data is much higher than it really is. For instance, if you have a very high quality monitor that has zillions of pixels, you might be able to display a raster coverage with many pixels equivalent to one meter ground resolution - but the data might be at 80 meters ground resolution.

Vector vs raster Met hod Advantages Disadvantages Raster Simple data structure Compatible with remotely sensed or scanned data Simple spatial analysis procedures Requires greater storage space on computer Depending on pixel size, graphical output may be less pleasing Projection transformations are more difficult More difficult to represent topological relationships Vector Requires less disk storage space Topological relationships are readily maintained Graphical output more closely resembles handdrawn maps More complex data structure Not as compatible with remotely sensed data Software and hardware are often more expensive Some spatial analysis procedures may be more difficult Overlaying multiple vector maps is often time consuming

Why raster? Raster GIS lends itself to complex mathematical analysis not possible in vector GIS.