46
What is Where? Getting Started With Geographic Information Systems Chapter 5

GIS Database Management

Embed Size (px)

Citation preview

Page 1: GIS Database Management

What is Where?

Getting Started With Geographic Information Systems

Chapter 5

Page 2: GIS Database Management

You can use a GIS to answer the question: What is where?

WHAT: Characteristics of attributes or features

WHERE: In geographic space

Page 3: GIS Database Management

What and Where

Page 4: GIS Database Management

Review: Flat File Database

Stream Value Value Value

Depth Flow Condition

Dam Value Value Value

Canal Value Value Value

Page 5: GIS Database Management

Arc/node map data structure with files

Page 6: GIS Database Management

A GIS links attribute and spatial data

Attribute Data Flat File Relations

Map Data Point File Line File Area File Topology Theme

Page 7: GIS Database Management

What is a Data Model?

A logical construct for the storage and retrieval of information.

GIS map data structures are map data models. Attribute data models are needed for the DBMS. The origin of DBMS data models is in computer

science.

Page 8: GIS Database Management

Maps and Memory

Joshua Foer (2011) “Moonwalking With Einstein: The Art and Science of Remembering Everything,”

Page 9: GIS Database Management

Data Models and Memory

Page 10: GIS Database Management

A DBMS contains: Data definition language Data dictionary Data-entry module Data update module Report generator Query language

Page 11: GIS Database Management

The data dictionary

Page 12: GIS Database Management

GIS and Data Retrieval

Ability of the DBMS or GIS to get back on demand data that were previously stored

Geographic search is the secret to GIS data retrieval. Many forms of data organization are incapable of

geographic search GI systems have embedded DBMSs, or link to a

commercial DBMS Examples: Access, Dbase, ORACLE, Excel, Paradox

Page 13: GIS Database Management

Historically, databases were structured hierarchically in files...

Page 14: GIS Database Management

Inverted spatial hierarchies

Page 15: GIS Database Management

Most current GIS data management is in relational databases

Based on multiple flat files for records Dissimilar attribute structures Connected by a common key attribute. Key is a UNIQUE identifier at the

“atomic” level for every record.

Page 16: GIS Database Management

Relational Data Bases

Page 17: GIS Database Management

Retrieval Operations

Searches by attribute: find and browse. Data reorganization: select, renumber, and

sort. Compute allows the creation of new attributes

based on calculated values.

Page 18: GIS Database Management

Spatial Retrieval Operations

Attribute queries are not very useful for geographic search.

In a map database the records are features or themes The spatial equivalent of a find is locate, the GIS

highlights the result. Spatial equivalents of the DBMS queries result in

locating sets of features or building new GIS layers.

Page 19: GIS Database Management

The Retrieval User Interface

GIS query is usually by command line, batch, menu or macro.

Most GIS packages use the GUI of the computer’s operating system to support both a menu-type query interface and a macro or programming language.

SQL is a standard interface to relational databases and is supported by many GISs.

Page 20: GIS Database Management

DBMS queries via the query language

sort renumber subset search

Page 21: GIS Database Management

Query: Search for City Name=“Santa Barbara”

Page 22: GIS Database Management

Sort: Locations by tornado deaths

Page 23: GIS Database Management

Query: Search using map

Page 24: GIS Database Management

Query: US Cities > 1000000 population

Page 25: GIS Database Management

Compute a new variable

Density = Pop / Area Density = Count_Points / Area Classed_soils = 1 if (soil_fert = 1 and

soil_drain= 2)

Page 26: GIS Database Management

Recode OR

Page 27: GIS Database Management

Spatial Search

Buffering is a spatial retrieval around points, lines, or areas based on distance.

Overlay is a spatial retrieval operation that is equivalent to an attribute join.

Page 28: GIS Database Management

Buffer

Page 29: GIS Database Management

Types of overlay operations

And Or Max Min Exhaustive set

Page 30: GIS Database Management

Overlay: Multiply (Masking)

0 1

Page 31: GIS Database Management

Data overlay With or without a new set of regions

Page 32: GIS Database Management

Overlay: (Near road or stream) and over elevation

Page 33: GIS Database Management

Complex Retrieval: Map Algebra

Combinations of spatial and attribute queries can build some complex and powerful GIS operations, such as weighting.

Weighted overlay analysis really just complex retrieval.

Page 34: GIS Database Management

Tomlin’s Operations: Map algebra

Local (per pixel) Zonal (by patch) Focal (around entity) Global (whole map)

Page 35: GIS Database Management

ESRI’s Model Builder

Page 36: GIS Database Management

Weighted Overlay Analysis

Ford, A., Clarke, K, Raines, G. (2009) Modeling Settlement Patterns of the Late Classic Maya Civilization with Bayesian Methods and Geographic Information Systems, Annals of the Association of American Geographers. Vol. 99, pp. 496-520

Page 37: GIS Database Management

Topographic Slope (in percent)

Page 38: GIS Database Management

Soil drainage property

Page 39: GIS Database Management

Soil fertility

Page 40: GIS Database Management

Distance to streams

Page 41: GIS Database Management

WofE Model 1

Page 42: GIS Database Management

WofeE Model 2

Page 43: GIS Database Management

Results

Model explains 75% of settlement locations Eliminated lakes, Strahler order, Belize

river as contributory factors Streams important up to 400m Validation with GPS field data Extending model to regional data

Page 44: GIS Database Management

Actual sites

Page 45: GIS Database Management

Unsurveyed sites added by GPS and LiDAR mapping

Page 46: GIS Database Management

Coming next…

Why is it there?