Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.

Slides:



Advertisements
Similar presentations
Chapters 9 and 10, Longley et al. Data Bases: Population and Maintenance Geog 176B Lecture 8.
Advertisements

The Role of Error Map and attribute data errors are the data producer's responsibility, GIS user must understand error. Accuracy and precision of map and.
Chapter 1: The Database Environment
Introduction to Databases
What is Where? u Getting Started With Geographic Information Systems u Chapter 5.
What is Where? Lecture 5 Introduction to GISs Geography 176A Department of Geography, UCSB Summer 06, Session B.
Database Management: Getting Data Together Chapter 14.
Geographic Information Systems
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Introduction to Databases Transparencies
What is Where? u Getting Started With Geographic Information Systems u Chapter 5.
Geographic Information Systems and Science SECOND EDITION Paul A. Longley, Michael F. Goodchild, David J. Maguire, David W. Rhind © 2005 John Wiley and.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Attribute databases. GIS Definition Diagram Output Query Results.
CSC 2720 Building Web Applications Database and SQL.
SESSION 7 MANAGING DATA DATARESOURCES. File Organization Terms and Concepts Field: Group of words or a complete number Record: Group of related fields.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
WHAT IS A DATABASE ? a collection of data organized to help easy retrieval & usage.
DBMS1 Database Management System (DBMS) Introductory Concepts Week-1.
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Introduction to Databases
Database Management COP4540, SCS, FIU An Introduction to database system.
What is Where? Getting Started With Geographic Information Systems Chapter 5.
IST Databases and DBMSs Todd S. Bacastow January 2005.
10. Creating and Maintaining Geographic Databases.
Geografiske informasjonssystemer (GIS) SGO1910 & SGO4930 Vår 2004 Foreleser: Karen O’Brien Seminarleder: Gunnar Berglund
MICROSOFT ACCESS Pn. Jamilah Binti Yusof. DEFINITION A database is the computer equivalent of an organized list of information. Typically, this information.
Database Lecture # 1 By Ubaid Ullah.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
Spatial Databases ENVE/CE 424/524. Definitions Database – an integrated set of data on a particular subject Spatial database - database containing geographic.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Module Title? DBMS Introduction to Database Management System.
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
Database Technical Session By: Prof. Adarsh Patel.
Introduction to SQL Steve Perry
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Database System Concepts and Architecture
Introduction: Databases and Database Users
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
“INTRODUCTION TO DATABASE AND SQL”. Outlines 2  Introduction To Database  Database Concepts  Database Properties  What is Database Management System.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Module 1: Database System
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
Implementation of the Relational Model There is no substitute for the comfort supplied by the utterly taken-for-granted relationship. Iris Murdoch.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
CS453: Databases and State in Web Applications (Part 2) Prof. Tom Horton.
Intro to GIS | Summer 2012 Attribute Tables – Part 1.
DBMS_Week 3-4 DBMS. Three-Schema Architecture – Internal schema (one view) describes physical storage structures access paths, indexes used Typically.
Lecture 10 Creating and Maintaining Geographic Databases Longley et al., Ch. 10, through section 10.4.
Mining real world data RDBMS and SQL. Index RDBMS introduction SQL (Structured Query language)
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
D ATABASE MANAGEMENT SYSTEM By Rubel Biswas. W HAT IS I NFORMATION ? It’s just something you can’t avoid. It is generally referred to as data.
Geographic Information Systems GIS Data Databases.
Fundamental of Database Systems
Databases and DBMSs Todd S. Bacastow January
“Introduction To Database and SQL”
An Introduction to database system
9. Creating and Maintaining Geographic Databases
Database Management System
Geographic Information Systems
“Introduction To Database and SQL”
Database.
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Geographic Information Systems
Presentation transcript:

Creating and Maintaining Geographic Databases

Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases

Definitions Database – an integrated set of data (attributes) on a particular subject Geographic (=spatial) database - database containing geographic data of a particular subject for a particular area Database Management System (DBMS) – software to create, maintain and access databases

A GIS can answer the question: What is where? WHAT: Characteristics of attributes or features. WHERE: In geographic space.

A GIS links attributes to spatial data Attribute Data Flat File Relations Map Data Point File Line File Area File Topology Theme

Flat File RecordValue Attribute RecordValue RecordValue

Advantages of Databases over Files Avoids redundancy and duplication Reduces data maintenance costs Applications are separated from the data –Applications persist over time –Support multiple concurrent applications Better data sharing Security and standards can be defined and enforced

Disadvantages of Databases over Files Expense Complexity Performance – especially complex data types Integration with other systems can be difficult

Types of DBMS Model Hierarchical Network Relational - RDBMS Object-oriented - OODBMS Object-relational - ORDBMS

Historically, databases were structured hierarchically in flat files...

Relational Databases rule now

Characteristics of DBMS Data model support for multiple data types –e.g MS Access: Text, Memo, Number, Date/Time, Currency, AutoNumber, Yes/No, OLE Object, Hyperlink, Lookup Wizard Load data from files, databases and other applications Index for rapid retrieval

Characteristics of DBMS Query language – SQL Security – controlled access to data –Multi-level groups Controlled update using a transaction manager Backup and recovery

Characteristics of DBMS Applications –Forms builder –Reportwriter –Internet Application Server –CASE tools Programmable API

Geographic Information System Database Management System Data load Editing Visualization Mapping Analysis Storage Indexing Security Query Data System Task Role of DBMS

Relational DBMS Data stored as tuples (tup-el), conceptualized as tables Table – data about a class of objects –Two-dimensional list (array) –Rows = objects –Columns = object states (properties, attributes)

Table Row = object Vector feature Column = attribute

Relational DBMS Most popular type of DBMS –Over 95% of data in DBMS is in RDBMS Commercial systems –IBM DB2 –Informix –Microsoft Access –Microsoft SQL Server –Oracle –Sybase

Relational Join Fundamental query operation Occurs because –Data created/maintained by different users, but integration needed for queries Table joins use common keys (column values) Table (attribute) join concept has been extended to geographic case

Relational Databases

SQL Structured (Standard) Query Language – (pronounced SEQUEL) Developed by IBM in 1970s Now de facto and de jure standard for accessing relational databases Three types of usage –Stand alone queries –High level programming –Embedded in other applications

Types of SQL Statements Data Definition Language (DDL) –Create, alter and delete data –CREATE TABLE, CREATE INDEX Data Manipulation Language (DML) –Retrieve and manipulate data –SELECT, UPDATE, DELETE, INSERT Data Control Languages (DCL) –Control security of data –GRANT, CREATE USER, DROP USER

Spatial Search: Gateway to Spatial Analysis Overlay is a spatial retrieval operation that is equivalent to an attribute join. Buffering is a spatial retrieval around points, lines, or areas based on distance.

Image courtesy of K. Foote/M. Lynch, UT-Austin Overlay

Overlay like an attribute join

Types of overlay operations Union Intersect Identity Max Min Etc.

Union computes the geometric intersection of two polygon coverages. All polygons from both coverages will be split at their intersections and preserved in the output coverage.

Intersect computes the geometric intersection of two coverages. Only those features in the area common to both coverages will be preserved in the output coverage.

Identity computes the geometric intersection of two coverages. All features of the input coverage, as well as those features of the identity coverage that overlap the input coverage, are preserved in the output coverage.

Buffer

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.

Map Algebra Combined with