what is where?

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

Upload: xiujuan-ye

Post on 30-Dec-2015

37 views

Category:

Documents


0 download

DESCRIPTION

What is Where?. Getting Started With Geographic Information Systems Chapter 5. A GIS can answer the question: What is where?. WHAT: Characteristics of attributes or features. WHERE: In geographic space. Attribute Data Flat File Relations. Map Data Point File Line File Area File - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: What is Where?

What is Where?

Getting Started With Geographic Information Systems

Chapter 5

Page 2: What is Where?

A GIS can answer the question: What is where?

WHAT: Characteristics of attributes or features.

WHERE: In geographic space.

Page 3: What is Where?

A GIS links attribute and spatial data

Attribute Data Flat File Relations

Map Data Point File Line File Area File Topology

Page 4: What is Where?

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 5: What is Where?

Historically, databases were structured hierarchically in files...

USA

CaliforniaOregon New York

Santa BarbaraVentura Contra Costa

Page 6: What is Where?

Most current DBMS is by relational databases.

Based on multiple flat files for records, with dissimilar attribute structures, connected by a common key attribute.

Page 7: What is Where?

Relational Data Bases

Purchase RecordItem Date Price Customer KeySkate Board 2/1/96 49.95 John Smith 42Baseball Bat 2/1/96 17.99 James Brown 978

Patient RecordKey Check-in Check Out Room No.42 2/1/96 2/4/96 N76378 2/3/96 2/4/96 N712

Accident ReportDate Injury Name Key Location2/1/96 Broken Leg John Smith 42 75 Elm Street2/2/96 Concussion Sylvia Jones 654 12 State Street2/2/96 Cut on Ear Robert Doe 123 2323 Broad Street

File

File

File

Page 8: What is Where?

A DBMS contains:

Data definition language Data dictionary Data-entry module Data update module Query language Report generator

Page 9: What is Where?

Data definition language

Allows the user to establish the structure and names of records and attributes.

Page 10: What is Where?

Data dictionary

Directory of meta-data (information about the data: what data of what types (numerical, text) are available for what areas and time periods?)

Page 11: What is Where?

Data-entry module

Needs to “catch” data-entry mistakes as they happen, based on the dictionary (“What kind of data belongs in this entry?”)

Page 12: What is Where?

Data-update module

Allows corrections and additions or insertions.

Allows new records? Allows new attributes? Allows changes in entered values? Tracks changed values?

Page 13: What is Where?

Query language

Specific operators that allow the user to retrieve information from the data.– “How many records with certain attributes?”– “Create a new attribute by combining

attributes.”

Page 14: What is Where?

DBMS queries via the query language

sorting renumbering subsetting searching

Page 15: What is Where?

Command line attribute

query

compute in states population_density = population / area <50 records in result>

restrict in states where population_density > 1000 <20 records selected in result>

recode population_density = 3 <20 values recoded in result>

join result with states replace <20 records changed in state>

restrict in states where population_density > 100 <12 records in result>

recode population_density = 2 <12 values changed in result>

join result with states replace <12 records changed>

compute in states where population_density != 3 or 2 population_density = 1 < 18 records changed>

Page 16: What is Where?

Retrieval

The 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.

GIS systems have embedded DBMSs, or link to a commercial DBMS.

Page 17: What is Where?

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: What is Where?

Spatial Retrieval Operations

Attribute queries are not very useful for geographic search.

In a map database the records are features. 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: What is Where?

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 20: What is Where?

RecodeOR

Page 21: What is Where?

Data overlay

Page 22: What is Where?

Overlay

Page 23: What is Where?

Types of overlay operations

And Or Max Min Exhaustive set

Page 24: What is Where?

Buffer+ 1

Page 25: What is Where?

Complex Retrieval: Map Algebra

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

Page 26: What is Where?

Report generator

Allows user to control the format for printing the results of queries.

In a GIS, this parallels the map-creating and editing capabilities of the system.

Page 27: What is Where?

Coming next…

WHY IS IT THERE?