Download - What is Where?
![Page 1: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/1.jpg)
What is Where?
Getting Started With Geographic Information Systems
Chapter 5
![Page 2: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/2.jpg)
A GIS can answer the question: What is where?
WHAT: Characteristics of attributes or features.
WHERE: In geographic space.
![Page 3: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/3.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/4.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/5.jpg)
Historically, databases were structured hierarchically in files...
USA
CaliforniaOregon New York
Santa BarbaraVentura Contra Costa
![Page 6: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/6.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/7.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/8.jpg)
A DBMS contains:
Data definition language Data dictionary Data-entry module Data update module Query language Report generator
![Page 9: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/9.jpg)
Data definition language
Allows the user to establish the structure and names of records and attributes.
![Page 10: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/10.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/11.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/12.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/13.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/14.jpg)
DBMS queries via the query language
sorting renumbering subsetting searching
![Page 15: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/15.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/16.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/17.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/18.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/19.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/20.jpg)
RecodeOR
![Page 21: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/21.jpg)
Data overlay
![Page 22: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/22.jpg)
Overlay
![Page 23: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/23.jpg)
Types of overlay operations
And Or Max Min Exhaustive set
![Page 24: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/24.jpg)
Buffer+ 1
![Page 25: What is Where?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/25.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/26.jpg)
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?](https://reader036.vdocuments.us/reader036/viewer/2022081504/56812b1d550346895d8f1189/html5/thumbnails/27.jpg)
Coming next…
WHY IS IT THERE?