SlideShare a Scribd company logo
Spatial Database Systems
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
What is a Spatial Database?
 A SDBMS is a DBMS
 It offers spatial data types/data models/
query language
 Support spatial properties/operations
 It supports spatial data types in its
implementation
 Support spatial indexing, algorithms for
spatial selection and join
Spatial Representation
 Raster model:
 Vector model:
Spatial data types
 Point : 2 real numbers
 Line : sequence of points
 Region : area included inside n-points
point
line
region
Spatial Relationships
 Topological relationships:
 adjacent, inside, disjoint, etc
 Direction relationships:
 Above, below, north_of, etc
 Metric relationships:
 “distance < 100”
 And operations to express the
relationships
Models, Algebras,
Languages
 Extent relational model, or use
Object-relational model: define new
ADTs
 Spatial algebra: ex. ROSE algebra
 Query languages:
 Extend SQL : GEOQL, PSQL
 New graphical languages: GEO-SAL
Examples
 A database:
 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
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
 Approximate each region with a
simple shape: usually Minimum
Bounding Rectangle (MBR) = [(x1, x2), (y1,
y2)]
x1 x2
y1
y2
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
Spatial Indexing
 Point Access Methods (PAMs) vs Spatial
Access Methods (SAMs)
 PAM: index only point data
 Hierarchical (tree-based) structures
 Multidimensional Hashing
 Space filling curve
 SAM: index both points and regions
 Transformations
 Overlapping regions
 Clipping methods

More Related Content

PPT
Spatial Database Systems
PPTX
Spatial Databases
PPTX
Spot db consistency checking and optimization in spatial database
PPT
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
PPTX
power point presentation on spatial database
PDF
3 Spatial query spatial query spatial query.pdf
PPT
Building a Spatial Database in PostgreSQL
PPT
Intro to spatial databases: GIS, Postgres.
Spatial Database Systems
Spatial Databases
Spot db consistency checking and optimization in spatial database
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
power point presentation on spatial database
3 Spatial query spatial query spatial query.pdf
Building a Spatial Database in PostgreSQL
Intro to spatial databases: GIS, Postgres.

Similar to What is a spatial database system? How is it different from a RDBMS? (20)

PPT
Introduction to spatialdatabases lecture slides
PPT
Ch1revised
PPT
Building a Spatial Database in PostgreSQL
PPTX
Spatial database managment.pptx
PPT
Oracle Spatial
PPTX
SPATIAL DATABASES.pptx
PDF
SPATIAL DB IN DATABASE MANAGEMENT SYSTEM
PPTX
Spatial databases
PPTX
TYBSC IT PGIS Unit II Chapter I Data Management and Processing Systems
PPTX
spatial databases ADBMS ppt
PPTX
Algorithms for Query Processing and Optimization of Spatial Operations
PDF
Building A Spatial Database In Postgresql (Ppt).pdf
PPTX
Spatial relationship in Database management system
PPT
Lecture-8-The-GIS-Database-Part-1.ppt
PPTX
Spatial databases
PPT
Spatial data mining
PPTX
Databases Basics and Spacial Matrix - Discussig Geographic Potentials of Data...
PDF
Performing Fast Spatial Query Search by Using Ultimate Code Words
PPTX
Introduction to Oracle Spatial
PDF
Efficient spatial queries on vanilla databases
Introduction to spatialdatabases lecture slides
Ch1revised
Building a Spatial Database in PostgreSQL
Spatial database managment.pptx
Oracle Spatial
SPATIAL DATABASES.pptx
SPATIAL DB IN DATABASE MANAGEMENT SYSTEM
Spatial databases
TYBSC IT PGIS Unit II Chapter I Data Management and Processing Systems
spatial databases ADBMS ppt
Algorithms for Query Processing and Optimization of Spatial Operations
Building A Spatial Database In Postgresql (Ppt).pdf
Spatial relationship in Database management system
Lecture-8-The-GIS-Database-Part-1.ppt
Spatial databases
Spatial data mining
Databases Basics and Spacial Matrix - Discussig Geographic Potentials of Data...
Performing Fast Spatial Query Search by Using Ultimate Code Words
Introduction to Oracle Spatial
Efficient spatial queries on vanilla databases
Ad

Recently uploaded (20)

PPTX
Supervised vs unsupervised machine learning algorithms
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPTX
SAP 2 completion done . PRESENTATION.pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PDF
Business Analytics and business intelligence.pdf
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PDF
[EN] Industrial Machine Downtime Prediction
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
Database Infoormation System (DBIS).pptx
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PDF
Mega Projects Data Mega Projects Data
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
Introduction to Knowledge Engineering Part 1
PDF
.pdf is not working space design for the following data for the following dat...
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Supervised vs unsupervised machine learning algorithms
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
SAP 2 completion done . PRESENTATION.pptx
Clinical guidelines as a resource for EBP(1).pdf
Business Analytics and business intelligence.pdf
STERILIZATION AND DISINFECTION-1.ppthhhbx
[EN] Industrial Machine Downtime Prediction
IBA_Chapter_11_Slides_Final_Accessible.pptx
ISS -ESG Data flows What is ESG and HowHow
Database Infoormation System (DBIS).pptx
Data_Analytics_and_PowerBI_Presentation.pptx
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Mega Projects Data Mega Projects Data
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
IB Computer Science - Internal Assessment.pptx
Introduction to Knowledge Engineering Part 1
.pdf is not working space design for the following data for the following dat...
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Ad

What is a spatial database system? How is it different from a RDBMS?

  • 2. 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
  • 3. What is a Spatial Database?  A SDBMS is a DBMS  It offers spatial data types/data models/ query language  Support spatial properties/operations  It supports spatial data types in its implementation  Support spatial indexing, algorithms for spatial selection and join
  • 4. Spatial Representation  Raster model:  Vector model:
  • 5. Spatial data types  Point : 2 real numbers  Line : sequence of points  Region : area included inside n-points point line region
  • 6. Spatial Relationships  Topological relationships:  adjacent, inside, disjoint, etc  Direction relationships:  Above, below, north_of, etc  Metric relationships:  “distance < 100”  And operations to express the relationships
  • 7. Models, Algebras, Languages  Extent relational model, or use Object-relational model: define new ADTs  Spatial algebra: ex. ROSE algebra  Query languages:  Extend SQL : GEOQL, PSQL  New graphical languages: GEO-SAL
  • 8. Examples  A database:  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
  • 9. 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
  • 10. 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)
  • 11. Indexing using SAMs  Approximate each region with a simple shape: usually Minimum Bounding Rectangle (MBR) = [(x1, x2), (y1, y2)] x1 x2 y1 y2
  • 12. 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
  • 13. Spatial Indexing  Point Access Methods (PAMs) vs Spatial Access Methods (SAMs)  PAM: index only point data  Hierarchical (tree-based) structures  Multidimensional Hashing  Space filling curve  SAM: index both points and regions  Transformations  Overlapping regions  Clipping methods