Spatial Database Systems

Slides:



Advertisements
Similar presentations
1 DATA STRUCTURES USED IN SPATIAL DATA MINING. 2 What is Spatial data ? broadly be defined as data which covers multidimensional points, lines, rectangles,
Advertisements

Spatial Databases Reading: None. Dept. of Computing Science, University of Aberdeen2 In this lecture you will learn the need for spatial databases some.
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
7/03Spatial Data Mining G Dong (WSU) & H. Liu (ASU) 1 6. Spatial Mining Spatial Data and Structures Images Spatial Mining Algorithms.
Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
Spatial Join Queries. Spatial Queries Given a collection of geometric objects (points, lines, polygons,...) organize them on disk, to answer point queries.
Spatial Join Yan Huang Spatial Join Given two sets of spatial data Find the pair of objects satisfying certain spatial predicate – e.g.
Spatial Database Systems Tyler Reainthong CSE 7330 Fall 2009.
Access Methods for Advanced Database Applications.
Searching on Multi-Dimensional Data
WFM 6202: Remote Sensing and GIS in Water Management © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 6202: Remote Sensing and GIS in Water Management Akm.
1 Enviromatics Spatial database systems Spatial database systems Вонр. проф. д-р Александар Маркоски Технички факултет – Битола 2008 год.
Introduction to Spatial Database System Presented by Xiaozhi Yu.
Raster Based GIS Analysis
Spatial Mining.
Query Processing in Databases Dr. M. Gavrilova.  Introduction  I/O algorithms for large databases  Complex geometric operations in graphical querying.
Spatial Database Systems
Geodatabases by Shawn J. Dorsch Spatial Databases Part 2.
Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
Geographical Database
Spatial Indexing SAMs. Spatial Access Methods PAMs Grid File kd-tree based (LSD-, hB- trees) Z-ordering + B+-tree R-tree Variations: R*-tree, Hilbert.
Spatial Information Systems (SIS) COMP Spatial access methods: Indexing.
Spatial Queries Nearest Neighbor Queries.
An Introduction to Spatial Databases R. H. Guting VLDB Journal v3, n4, October 1994 Speaker: Giovanni Conforti.
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
Basic Concepts of GIS January 29, What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial.
Fast Subsequence Matching in Time-Series Databases Christos Faloutsos M. Ranganathan Yannis Manolopoulos Department of Computer Science and ISR University.
Spatial data models (types)
Roger ZimmermannCOMPSAC 2004, September 30 Spatial Data Query Support in Peer-to-Peer Systems Roger Zimmermann, Wei-Shinn Ku, and Haojun Wang Computer.
1 C. Shahabi CSCI599-Fall2000 Introduction to Spatial Database Systems by Cyrus Shahabi from Ralf Hart Hartmut Guting’s VLDB Journal v3, n4, October 1994.
Spatial Data Models. What is a Data Model? What is a model? (Dictionary meaning) A set of plans (blueprint drawing) for a building A miniature representation.
Introduction to Geospatial Information Management and Spatial Databases Lecture 4 1.
Spatial Database Souhad Daraghma.
Chapter 1: Introduction to Spatial Databases 1.1 Overview 1.2 Application domains 1.3 Compare a SDBMS with a GIS 1.4 Categories of Users 1.5 An example.
Spatial Data Management Chapter 28. Types of Spatial Data Point Data –Points in a multidimensional space E.g., Raster data such as satellite imagery,
Join-Queries between two Spatial Datasets Indexed by a Single R*-tree Join-Queries between two Spatial Datasets Indexed by a Single R*-tree Michael Vassilakopoulos.
Spatial Query Language Group No.15 Dhruv Dhokalia Yash Khandelwal Course Relation- Chapter 11- Object and Object-Relational Databases.
IST 210 Introduction to Spatial Databases. IST 210 Evolution of acronym “GIS” Fig 1.1 Geographic Information Systems (1980s) Geographic Information Science.
Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-2 Chapters 3 and 4.
Distance. Euclidean Distance Minimum distance from a source (Value NoData) Input grid must have at least one source cell with the rest of the grid.
 Trace the incremental algorithm for constructing convex data on the sample point data given below. Intermediate steps should be shown First, two steps.
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
Spatial Concepts and Data Models Reading: Shekhar & Chawla Chapter 2 November 22, 2005.
R-Tree. 2 Spatial Database (Ia) Consider: Given a city map, ‘index’ all university buildings in an efficient structure for quick topological search.
GIS Data Models Vector Data Models Vector File Formats Raster Data Models Raster File Formats.
1 Spatial Data Models and Structure. 2 Part 1: Basic Geographic Concepts Real world -> Digital Environment –GIS data represent a simplified view of physical.
GIS Data Structures How do we represent the world in a GIS database?
Spatial DBMS Spatial Database Management Systems.
Spatial Database 2/5/2011 Reference – Ramakrishna Gerhke and Silbershatz.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
Topic: Data Models. Data Model: A consistent way of defining and representing real world entities or phenomena in a GIS. Two Primary Types of Data Models:
Overview of Mining Spatial Data
Spatial Data Management
Chapter 1: Introduction to Spatial Databases 1. 1 Overview 1
Strategies for Spatial Joins
Spatial Queries Nearest Neighbor and Join Queries.
INTRODUCTION TO GEOGRAPHICAL INFORMATION SYSTEM
Multimedia Database.
Introduction to Spatial Databases (1)
Geographic Information Systems
Query Processing in Databases Dr. M. Gavrilova
Query Processing and Optimization
Cartographic and GIS Data Structures
Spatial Database Systems
Spatial and temporal data management
Chapter 1: Introduction to Spatial Databases 1. 1 Overview 1
Value of SDBMS Non-spatial queries: Spatial Queries:
Algorithm design (computational geometry)
Multidimensional Search Structures
Presentation transcript:

Spatial Database Systems

What is a Spatial Database? A spatial database is a database that is enhanced to store and access spatial data or data that defines a geometric space. Data on spatial databases are stored as coordinates, points, lines, polygons and topology. Spatial RDBMS allows to use SQL data types, such as int and varchar, as well as spatial data types, such as Point, Linestring and Polygon for geometric calculations like distance or relationships between shapes.

RDBMS uses the B-Tree series or Hash Function to process indexes, only one-dimensional data can be processed. Since spatial data types are two or three dimensional: R-Tree series or Quad Trees can be used in Spatial RDBMS to process such data; Or it is necessary to transform two or three dimensional data to one dimensional data, then B-Tree can be used.

Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility networks, etc Other applications: VLSI design, CAD/CAM, model of human brain, etc Traditional applications: Multidimensional records ESRI products OSGeo projects  

Spatial data types region point line Point : 2 real numbers Line : sequence of points Region : area included inside n-points

Spatial Representation

HOW RASTER DATASETS REPRESENT REAL-WORLD FEATURES Different types of data are stored in different file formats.

Spatial Relationships Topological relationships: adjacent, inside, disjoint, etc Direction relationships: Above, below, north_of, etc Metric relationships: “distance < 100”

Models, Languages Extent relational model, or use Object-relational model: define new ADTs Query languages: Extend SQL : GEOQL, PSQL New graphical languages: GEO-SAL

Examples A database: SELECT * FROM rivers WHERE route intersects R Relation states(sname: string, area: region, spop: int) Relation cities(cname: string, center: point; ext: region) Relation rivers(rname: string, route:line) SELECT * FROM rivers WHERE route intersects R SELECT cname, sname FROM cities, states WHERE center inside area SELECT rname, length(intersection(route, California)) FROM rivers WHERE route intersects California

Spatial Queries Selection queries: “Find all objects inside query q”, inside-> intersects, north Nearest Neighbor-queries: “Find the closets object to a query point q”, k-closest objects Spatial join queries: Two spatial relations S1 and S2, find all pairs: {x in S1, y in S2, and x rel y= true}, rel= intersect, inside, etc

EXAMPLE OF SPATIAL SQL NEAREST NEIGHBOR SEARCH

Access Methods Point Access Methods (PAMs): Index methods for 2 or 3-dimensional points (k-d trees, Z- ordering, grid-file) Spatial Access Methods (SAMs): Index methods for 2 or 3-dimensional regions and points (R-trees)

Indexing using SAMs y2 y1 x2 x1 Approximate each region with a simple shape: usually Minimum Bounding Rectangle (MBR) = [(x1, x2), (y1, y2)] y2 y1 x1 x2

MBR (MINIMUM BOUND RECTANGLE)

Indexing using SAMs (cont.) Two steps: Filtering step: Find all the MBRs (using the SAM) that satisfy the query Refinement step : For each qualified MBR, check the original object against the query

Indexing using PAMs Q Q Map the MBR in 2-d into a point in 4-d: [(x1, x2), (y1, y2)]  (x1, x2, y1, y2) Transform the query into the new space Use a 4-d PAM to answer queries. b Q Q a a b