CS 128/ES 228 - Lecture 6a1 Attribute Data CampusIDNameTypeFloorsFootprint 6MurphyAcademic22001 9HopkinsSupport2946 12MaintenanceSupport11848 15HickeySupport22367.

Slides:



Advertisements
Similar presentations
Geographic Information Systems GIS Data Models. 1. Components of Geographic Data Spatial locations Attributes Topology Time.
Advertisements

CS 128/ES Lecture 2b1 Attribute Data and Map Types.
Management Information Systems, Sixth Edition
GI Systems and Science January 30, Points to Cover  Recap of what we covered so far  A concept of database Database Management System (DBMS) 
Mani-CS34311 CS3431 – Database Systems I Introduction Instructor: Murali Mani
CS 128/ES Lecture 2b1 Attribute Data and Map Types.
CS 128/ES Lecture 5b1 Vector Based Data. Great Rivalries in History Lincoln vs. Douglas “The first great Presidential Debates” Trekkies vs. Jedis.
LBSC 690 Session #7 Structured Information: Databases Jimmy Lin The iSchool University of Maryland Wednesday, October 15, 2008 This work is licensed under.
Rundensteiner-CS34311 CS3431 – Database Systems I Introduction Instructor: Elke A. Rundensteiner
Chapter 3 Database Management
CS 128/ES Lecture 5b1 Vector Based Data. CS 128/ES Lecture 5b2 Spatial data models 1.Raster 2.Vector 3.Object-oriented Spatial data formats:
Database Management: Getting Data Together Chapter 14.
CS 128/ES Lecture 5a1 Raster Formats (II). CS 128/ES Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.
CS 128/ES Lecture 6a1 Attribute Data CampusIDNameTypeFloorsFootprint 6MurphyAcademic HopkinsSupport MaintenanceSupport HickeySupport22367.
Geographic Information Systems
Introduction to Databases Transparencies
Attribute databases. GIS Definition Diagram Output Query Results.
CS 128/ES Lecture 6a1 Attribute Data CampusIDNameTypeFloorsFootprint 6MurphyAcademic HopkinsSupport MaintenanceSupport HickeySupport22367.
Information Storage and Retrieval CS French Chapter 3.
Normalization of Tables “Between two evils, choose neither; between two goods, choose both.” Tryon Edwards.
Attribute Data in GIS Data in GIS are stored as features AND tabular info Tabular information can be associated with features OR Tabular data may NOT be.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Database and Database Users. Outline Database Introduction An Example Characteristics of the Database Actors on the Scene Advantages of using the DBMS.
Simple Database.
BUS1MIS Management Information Systems Semester 1, 2012 Access: Creating a Database Week 6 Lecture 2.
Introduction: Databases and Database Users
Databases. Database A database is an organized collection of related data.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
HNDComputing – DeMontfort University  DeMontfort University 2011 Database Fundamentals wk2 Database Design ConceptsDatabase Design Concepts Database Design.
Databases & Consistency. Database Relational databases : dominant information storage/retrieval system.
Chapter 4 & 5: GIS Database & Vector Analysis. Chapter Four: GIS Database 2.
Normalization (Codd, 1972) Practical Information For Real World Database Design.
SQL Structured Query Language Programming Course.
Chapter 17 Creating a Database.
1 Outline  What is a Primary Key?  AutoNumber primary keys  Single-field primary keys  Composite-field primary key  About Foreign Keys  Database.
What's a Database A Database Primer Let’s discuss databases n Why they are hard n Why we need them.
University of Palestine Faculty of Applied Engineering and Urban Planning GIS Course Spatial Analysis Eng. Osama Dawoud 1 st Semester 2009/2010.
Version: 2.0. Forenam e of parent Surname of parent Address 1 Address 2 Name of child Age of child School database example. Try adding a few rows for.
3 / 12 Databases MIS105 Lec13 Irfan Ahmed Ilyas CHAPTER Prepared By:
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
Map overlays & Geoprocessing Learn about spatial analysis functions overlays, clipping & buffering Use overlays to analyze multiple spatial criteria Understand.
Chapter 9 Database Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
Database Design Normalisation. Last Session Looked at: –What databases were –Where they are used –How they are used.
ADVANTAGES OF DATA BASE MANAGEMENT SYSTEM. TO BE DICUSSED... Advantages of Database Management System  Controlling Data RedundancyControlling Data Redundancy.
A Quick Introduction to GIS
Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.
DATA Spatial Data – where things are Non Spatial Data or Attribute Data – What things are Data in a computer database are managed and accessed through.
2/20: Ch. 6 Data Management What is data? How is it stored? –Traditional management storage techniques; problems –DBMS.
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 1: Introduction to IS2803 Rob Gleasure
Date: 13/03/2015 Training Reference: 2015 GIS_01 Document Reference: 2015GIS_01/PPT/L4 Issue: 2015/L4/1/V1 Addis Ababa, Ethiopia GIS Data Base Management.
1 Geog 357: Data models and DBMS. Geographic Decision Making.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
Data Storage & Editing GEOG370 Instructor: Christine Erlien.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Introduction Instructor: Elke A. Rundensteiner
Outline Types of Databases and Database Applications Basic Definitions
Chapter 9 Database Systems
Chapter 9: Database Systems
Databases & Consistency
Microsoft Office Access is the best –selling personal computer database management system. What is Access?
Microsoft Access Date.
Interactive Powerpoint
Presentation transcript:

CS 128/ES Lecture 6a1 Attribute Data CampusIDNameTypeFloorsFootprint 6MurphyAcademic HopkinsSupport MaintenanceSupport HickeySupport Shay-LoughlenDorm31298

CS 128/ES Lecture 6a2 Why Databases? One of the advantages of vector- based data is that each datum corresponds to a (portion) of a “real” object. BUT… Objects are more than geographic locations

CS 128/ES Lecture 6a3 Database “Review”  Databases consist of tables  Each table holds records  Records are in rows  Each record consists of fields, i.e. individual data items  Fields are in columns  Fields that have unique values within a table are called “keys” CampusIDNameTypeFloorsFootprint 6MurphyAcademic HopkinsSupport MaintenanceSupport HickeySupport Shay-LoughlenDorm31298

CS 128/ES Lecture 6a4 Sequential Databases Once upon a time, computer scientists tried to put all the data for an application in one table It didn’t work

CS 128/ES Lecture 6a5 Flaws of Sequential Databases Not all data is homogeneous Monolithic structure leads to contention problems Separation of data into “sub” databases leads to duplication (and inconsistencies)

CS 128/ES Lecture 6a6 Relational databases Use many (related) tables of data, with minimal duplication Tables are “linked” through common values in particular fields “Queries” permit rich “data mining”

CS 128/ES Lecture 6a7 What Color Hair Does Student 234 Have? Mary Dawn Pete Pat 117Mary Dave Dawn Pete Ted Jane Ann4.0 This is an example of a JOIN operation

CS 128/ES Lecture 6a8 Relational Databases in GIS One table traditionally holds geographic information Other tables hold data about other attributes Tables are linked through “Object Ids” (Object Ids should be independent of the software)

CS 128/ES Lecture 6a9 Relational Databases in GIS Consider a “Buildings” layer “GIS” data includes location (including coordinate system), symbology, internal bookkeeping “External” data includes name of building, date built, purpose, etc.

CS 128/ES Lecture 6a10 Sometimes they are mixed

CS 128/ES Lecture 6a11 Queries Information is gained by linking tables through “joins” Queries can involve computed quantities, etc.

CS 128/ES Lecture 6a12 Storing Topology Shapefiles contain no topological information But topology is important SOLUTION Store the topology elsewhere

CS 128/ES Lecture 6a13 Practicality  GIS must maintain topology (to be useful)  GIS can’t store topology (in shapefiles)  SO, GIS must compute topology

CS 128/ES Lecture 6a14 Data Structure for Topology A B C D Zone 1 Zone 2 Bou nd. AB4 AC5 BC10 CD8 Select Boundary Where Zone1=A Ans: 4,5

CS 128/ES Lecture 6a15 Topological Operations Split one region into two A B C NameColorArea AGreen275 NameColorArea BGreen190 CGreen85

CS 128/ES Lecture 6a16 Topological Operations Merge two regions into one A B C NameColorArea AGreen190 BRed85 NameColorArea C???275

CS 128/ES Lecture 6a17 Dealing with topological operations Union(whose data dominates if there is a conflict?) Intersect (whose data do we keep?) “Snaps” Clipping (cropping) a raster OR a vector

Issues with large GIS’s Currency How do keep the data up to date? CS 128/ES Lecture 6a18

Where does currency arise in GIS’s? Real-time weather (or other environmental) data Tracking vehicles Tracking prisoners – be careful where you put the tracking collar! … CS 128/ES Lecture 6a19 Many Places

Issues with large GIS’s Concurrency How do we prevent conflicts? One way is to permit “read only” Works for systems like FRIAR Does not work when “transactions” must be made CS 128/ES Lecture 6a20

A Concurrency Skit Scene: One seat (8B) is left on Friday’s flight to Cancun. Time 1: Ted calls up travel agent and asks if any seats are left. Is told yes. Time 2: Dave calls up different travel agent and asks if any seats are left. Is told yes. CS 128/ES Lecture 6a21

A Concurrency Skit (continued) Time 3: Ted’s agent books his seat. Time 4: Dave’s agent books his seat. Scene 2: Friday afternoon at the airport... (action to be ad-libbed) CS 128/ES Lecture 6a22

Where does concurrency arise in GIS’s? The are not that common, but some examples include: Issuing orders to vehicles in the field. Updating claims on gold mines CS 128/ES Lecture 6a23

Issues with large GIS’s Security Of proprietary data Legal/ethical concerns Massachusetts mileage tax Rental car tracking Traffic reports (what if they’re wrong?) CS 128/ES Lecture 6a24

CS 128/ES Lecture 6a25 What distinguishes (some) GIS’s The types of these operations that they can perform. Both Database and Topological