Representing the Real World

Similar documents
GIS Data Models. 4/9/ GIS Data Models

Understanding Geospatial Data Models

Representing Geography

Chapter 3: Maps as Numbers

Longley Chapter 3. Representations

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

[301] Bits and Memory. Tyler Caraza-Harter

SPATIAL DATA MODELS Introduction to GIS Winter 2015

M. Andrea Rodríguez-Tastets. I Semester 2008

Data Models and Data processing in GIS

Suitability Modeling with GIS

Maps as Numbers: Data Models

LECTURE 2 SPATIAL DATA MODELS

Module 1: Information Representation I -- Number Systems

CMPS 10 Introduction to Computer Science Lecture Notes

Topic 5: Raster and Vector Data Models

a- As a special case, if there is only one symbol, no bits are required to specify it.

Final Labs and Tutors

Introduction to Geographic Information Systems Dr. Arun K Saraf Department of Earth Sciences Indian Institute of Technology, Roorkee

Basic data types. Building blocks of computation

LSGI 521: Principles of GIS. Lecture 5: Spatial Data Management in GIS. Dr. Bo Wu

Chapter 8: Elevation Data

17/07/2013 RASTER DATA STRUCTURE GIS LECTURE 4 GIS DATA MODELS AND STRUCTURES RASTER DATA MODEL& STRUCTURE TIN- TRIANGULAR IRREGULAR NETWORK

Experimental Methods I

MAPLOGIC CORPORATION. GIS Software Solutions. Getting Started. With MapLogic Layout Manager

Weighted and Continuous Clustering

Bits, bytes, binary numbers, and the representation of information

Maps as Numbers: Data Models

14.1 Encoding for different models of computation

Raster: The Other GIS Data

GEOGRAPHIC INFORMATION SYSTEMS Lecture 02: Feature Types and Data Models

Class #2. Data Models: maps as models of reality, geographical and attribute measurement & vector and raster (and other) data structures

Data Representation 1

Computation of Slope

Introduction to GIS. Geographic Information Systems SOCR-377 9/24/2015. R. Khosla Fall Semester The real world. What in the world is GIS?

Some basic set theory (and how it relates to Haskell)

COMP 102: Computers and Computing

An Example of Regional Web Resources: Massachusetts, USA Digital Data

Introduction to Geographic Information Science. Some Updates. Last Lecture 4/6/2017. Geography 4103 / Raster Data and Tesselations.

Introduction :- Storage of GIS Database :- What is tiling?

The type of all data used in a C (or C++) program must be specified

REPRESENTING INFORMATION:

9/3/2015. Data Representation II. 2.4 Signed Integer Representation. 2.4 Signed Integer Representation

Chapter 2. Data Representation in Computer Systems

Geodatabase over Taita Hills, Kenya

Coding & Computation or What s all this about 1s and 0s? File: coding-computation-slides.tex.

Purpose: To explore the raster grid and vector map element concepts in GIS.

Minnesota Department of Natural Resources ArcView Utilities Extension User s Guide

EECS 203 Spring 2016 Lecture 8 Page 1 of 6

INTRODUCTION TO GIS WORKSHOP EXERCISE

1. Draw the state graphs for the finite automata which accept sets of strings composed of zeros and ones which:

Discussion. Why do we use Base 10?

Information and Creative Technology

MapInfo ProViewer 11.0 USER GUIDE

Analogue vs. Discrete data

Chapter 101. Coding & Computation. Coding & Computation or What s all this about 1s and 0s? Topics

(Refer Slide Time: 00:23)

DIGITAL SYSTEM DESIGN

Review of Cartographic Data Types and Data Models

FROM A RELATIONAL TO A MULTI-DIMENSIONAL DATA BASE

Data Representation From 0s and 1s to images CPSC 101

Creating raster DEMs and DSMs from large lidar point collections. Summary. Coming up with a plan. Using the Point To Raster geoprocessing tool

layers in a raster model

The GIS Spatial Data Model

Slides for Faculty Oxford University Press All rights reserved.

Main concepts of ILWIS 3.0

IT 1204 Section 2.0. Data Representation and Arithmetic. 2009, University of Colombo School of Computing 1

Watershed Sciences 4930 & 6920 GEOGRAPHIC INFORMATION SYSTEMS

Introduction to Scientific Computing Lecture 1

Building Vector Layers

Introduction to Google Earth Tutorial Haiti. 3/15/2011. Tufts GIS Center. Data Exploration

CSE 220: System Fundamentals I Unit 14: MIPS Assembly: Multi-dimensional Arrays. Kevin McDonnell Stony Brook University CSE 220

Functional Programming in Haskell Prof. Madhavan Mukund and S. P. Suresh Chennai Mathematical Institute

EAT 233/3 GEOGRAPHIC INFORMATION SYSTEM (GIS)

6th Bay Area Mathematical Olympiad

Basics of Computational Geometry

Flow on terrains. Laura Toma csci 3225 Algorithms for GIS Bowdoin College

Theory of Computation Prof. Raghunath Tewari Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

v TUFLOW-2D Hydrodynamics SMS Tutorials Time minutes Prerequisites Overview Tutorial

Variables and Data Representation

Problem Solving through Programming In C Prof. Anupam Basu Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

for (i=1; i<=100000; i++) { x = sqrt (y); // square root function cout << x+i << endl; }

The Building Blocks: Binary Numbers, Boolean Logic, and Gates. Purpose of Chapter. External Representation of Information.

Bharath Setturu Research scholar, EWRG, Center for Ecological Sciences, IISc, Bangalore & EWRG-CES IIIT-HYDERABAD

Information Science 1

Lecturer 2: Spatial Concepts and Data Models

Grades 7 & 8, Math Circles 31 October/1/2 November, Graph Theory

Introduction to ILWIS 3.0

CS102 Unit 2. Sets and Mathematical Formalism Programming Languages and Simple Program Execution

2 Sets. 2.1 Notation. last edited January 26, 2016

Lecture 2: GIS Data Sources, Data Types and Representation. GE 118: INTRODUCTION TO GIS Engr. Meriam M. Santillan Caraga State University

How & Why We Subnet Lab Workbook

Intermediate Programming & Design (C++) Notation

Electronic Data and Instructions

INTRODUCTION TO COMPUTERS

LECTURE NOTES ON SETS

Thoughts on Representing Spatial Objects. William A. Huber Quantitative Decisions Rosemont, PA

Chapter 1. Math review. 1.1 Some sets

presented by: Tim Haithcoat University of Missouri Columbia

Lecture #3: Digital Music and Sound

Transcription:

Representing the Real World The theory of representing the real world in a GIS using digital data The nature of digital data and binary notation The discrete object view of the world Entities, data objects, and data models Topology and spatial relationships The field view of the world

Representing the Real World To map is to transform information from one form to another --- Mathematics Earth surface Paper map --- Geography

Representing the Real World Maps are a means by which to convey a lot of spatial information in a succinct package, because they allow us to gain knowledge of places we may never have seen ourselves Because we get to observe a very small part of the world with our own eyes, we rely on a variety of methods of representation to convey information: Photographs, spoken descriptions and written text (along with maps) are all familiar kinds of representation we use in everyday life to help us assemble more knowledge about the Earth

Representing the Real World In a GIS, the representation of real world phenomena makes use of digital data formats Earth surface Digital data representation

Digital Representations You probably have a fairly broad experience of digital representations through the use of computers and the Internet for other (non-geographic) purposes It is easy to be completely unaware of how digital representations function because technology has advanced sufficiently that their functioning is quite transparent to the consumer of information e.g. when you browse a web page, you see the formatted hypertext, not the html source code, nor the fundamental binary storage of the data

Digital Representations The term digital derives from digits (which in turn is a reference to our fingers) and our system of counting based on the 10 digits of our hands While our usual counting system makes use of the 10 symbols in the decimal counting system (0 9), digital computers use of system of counting that only uses 2 symbols that we represent with 0 and 1. Computers represent phenomena as binary digits. Every item of useful information about the Earth s surface is ultimately reduced by a GIS to some combination of 0s and 1s (p. 61 of text)

Binary Notation Everything is represented as 0s and 1s in a computer. These two-state forms correspond to yes/no, on/off, open/closed Binary Decimal 1 digit 0, 1 1 bit 0,1,2, 9 2 digits 00, 01 2 bits 00, 01, 10, 11 97, 99 3 digits 000, 001 3 bits 000, 001, 010, 011 002, 003, 100, 101 110, 111 998, 999 One to one correspondence Decimal Binary 0 0 1 1 2 10 3 11 4 100 5 101 6?

Binary Notation Decimal: 72,479 = 70,000 = 7 10 4 2,000 = 2 10 3 400 = 4 10 2 70 = 7 10 1 9 = 9 10 0 10 4 10 3 10 2 10 1 10 0 Binary: 2 4 2 3 2 2 2 1 2 0 Note: In binary 1010 + 110 10000 1 0 1 0 0 1 2 4 +0 2 3 +1 2 2 +0 2 1 +0 2 0 = 16 + 0 + 4 + 0 + 0 = 20

Electronic Representation of Bits Binary information can be represented by electrical pulses passing along wires with two different voltage levels as shown in the following sequence of pulses 0 1 1 0 0 0 1

Bits and Bytes 8 bits = 1 byte 1 bit = 1 binary digit 1 byte = 8 bits 1 0 1 1 1 0 1 0 1024 bytes = 1 Kb 1024 Kb = 1 Mb 1024 Mb = 1 Gb 1024 Gb = 1 Tb 1024 Tb = 1 Pb

ASCII Encoding If computers store everything using 0s and 1s, then how are characters represented? The ASCII (American Standard Code for Information Interchange) code assigns the numbers 0 through 127 to 128 characters, including upper and lower case alphabets plus various special characters, such as white space etc. e.g. decimal 85 is assigned to represent upper case U. In binary, 01010101 = 85. Thus the computer represents U using 01010101. Files which contain information encoded in ASCII are easily transferred and processed by different computers and programs. These are called ASCII or text files.

Representing the Real World Earth surface Digital data representation You now have some familiarity with how a digital representation works fundamentally. But now we encounter some key issues: What do we represent? What model should we use?

Representing the Real World We can think of geographic data as consisting of individual facts about the geographic world that link a place, a time, and some descriptive property, which we usually refer to as an attribute. A full and complete representation of the Earth would consists of an infinite number of geographic facts because The world is infinitely complex, but computer systems are finite. Representation is all about the choices that are made in capturing knowledge about the world (p. 65 of the text)

Two Fundamental Sorts of Representations Regardless of what phenomena of interest we chose to include in our geographic representation, we first must choose between a model that either represents geography as discrete objects OR represents geography as fields Most GIS approaches focus on the discrete object view, and we ll look at it in greater detail, although we will look at field representations as well

The Discrete Object View This view represents the world as objects with welldefined boundaries in empty space We can refer to these objects as entities -- real world phenomena that can be represented in a database

Entities Data Objects In the discrete object view, we associate each and every entity we wish to represent with its own data object a digital building block used in a data structure to represent an entity (x,y) (x,y) (x,y) (x,y) (x,y) (x,y) (x,y) (x,y) point line polygon (area) (x,y) (x,y)

Collection of Data Objects Data Model Taken all together, a set of data objects comprise a data model a collection of data objects represented in a particular format Road Network Elevation Buildings Land Cover

The Discrete Object View A data model is composed of data objects, each of which represents an entity Displayed schematically: Data Object Entity Data Model Data Object Data Object Entity Entity

Data Objects and their Attributes Each data object has associated attribute data, comprised of one or more variables, that describes the entity (and we have selected which attributes because they are descriptive of our phenomena of interest) Data Object Entity

Data Models We can consider two layers of data models: Conceptual data models these include sets of components and their relationships to each other, and are independent of a specific system These exist in your mind Logical data models these include the logical organization of the components of a data model in which the relationships among components are explicitly defined These exist in the GIS

Topology A key component of defining the rules of a spatial logical data model is defining the topological relations between objects Topology describes the relationship between objects, or entities, in space Do not confused topology with topography, which describes the third dimension of relief on the Earth s surface (elevation)

Conceptualizing Topology Topology defines certain spatial relationships between objects: Adjacency Connectivity Containment With topology defined, it becomes a simple matter to assess other spatial relationships such as: Direction Proximity

Topology - Adjacency Supposing we had a data model that included towns as represented by polygons If two town polygons were next to each other, we could describe them as topologically adjacent Springfield Shelbyville Capital City

Topology - Connectivity We might define the connectivity of the polygons in our model as well (perhaps based on some attributes, or the nature of the shared boundary ) Springfield South Springfield

Topology - Containment Our data model might also include point data that denotes the locations of businesses within the town polygons Using these we might assess whether a certain business was within a certain town using the containment relation Moe s Power Plant Kwik-E-Mart

Topology - Direction We can also the relative position of data objects in terms of direction: Moe s is North-East of the Kwik-E-Mart The nuclear plant is South-East of the Kwik-E-Mart Moe s Power Plant Kwik-E-Mart

Topology - Proximity We can also calculate the distances between objects to determine their proximity: Homer lives near Ned Homer lives far from Grandpa (where near and far can be defined )

Why We Need Topology Without topology, all you have is a pretty picture You can t use a data model without topology to understand the relationships between the spatial objects

The Field View In contrast to the discrete object view, which models the world in terms of entities, the field view approaches the world as consisting of continuous phenomena: The field view represents the real world as a finite number of variables, each one defined at every possible position (p.69 of the text) This view is inherently problematic for digital representation, which necessarily has to discretize the world into some set of minimum units

Topography Lends Itself to the Field View Topography is measurable at any point on the Earth s surface and changes in value across the surface

Other Field-like Phenomena Anything that does not have a well-defined boundary is more easily represented as a field: E.g. When mapping soil, we do not find a crisp break between one soil type and another typically they simply continuously vary Similarly, when we try to define the boundary of a lake, we might run into trouble where the lake drains into a river where does the lake end and the river begin we might prefer to define any given point s lakeness