SlideShare ist ein Scribd-Unternehmen logo
1 von 13
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

Weitere ähnliche Inhalte

Was ist angesagt?

Lecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.pptLecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.ppt
Prabin Pandit
 
Data Models - GIS I
Data Models - GIS IData Models - GIS I
Data Models - GIS I
John Reiser
 

Was ist angesagt? (20)

Raster data analysis
Raster data analysisRaster data analysis
Raster data analysis
 
215 spatial db
215 spatial db215 spatial db
215 spatial db
 
Vector and Raster Data data model
Vector and Raster Data data modelVector and Raster Data data model
Vector and Raster Data data model
 
Raster data and Vector data
Raster data and Vector dataRaster data and Vector data
Raster data and Vector data
 
Raster data model
Raster data modelRaster data model
Raster data model
 
GIS - Topology
GIS - Topology GIS - Topology
GIS - Topology
 
GIS - lecture-1.ppt
GIS - lecture-1.pptGIS - lecture-1.ppt
GIS - lecture-1.ppt
 
Components of Spatial Data Quality in GIS
Components of Spatial Data Quality in GISComponents of Spatial Data Quality in GIS
Components of Spatial Data Quality in GIS
 
Geographic information system (gis)
Geographic information system (gis)Geographic information system (gis)
Geographic information system (gis)
 
GIS Data Types
GIS Data TypesGIS Data Types
GIS Data Types
 
Gis Geographical Information System Fundamentals
Gis Geographical Information System FundamentalsGis Geographical Information System Fundamentals
Gis Geographical Information System Fundamentals
 
Vector data model
Vector data model Vector data model
Vector data model
 
ppt spatial data
ppt spatial datappt spatial data
ppt spatial data
 
How is the real world represented in GIS?
How is the real world represented in GIS?How is the real world represented in GIS?
How is the real world represented in GIS?
 
Lecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.pptLecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.ppt
 
Spatial databases
Spatial databasesSpatial databases
Spatial databases
 
Spatial Databases
Spatial DatabasesSpatial Databases
Spatial Databases
 
Types of GIS Data
Types of GIS DataTypes of GIS Data
Types of GIS Data
 
Data Models - GIS I
Data Models - GIS IData Models - GIS I
Data Models - GIS I
 
Data sources and input in GIS
Data  sources and input in GISData  sources and input in GIS
Data sources and input in GIS
 

Andere mochten auch

Datawarehouse Overview
Datawarehouse OverviewDatawarehouse Overview
Datawarehouse Overview
ashok kumar
 
Spatial vs non spatial
Spatial vs non spatialSpatial vs non spatial
Spatial vs non spatial
Sumant Diwakar
 
Mobile dbms
Mobile dbmsMobile dbms
Mobile dbms
Tech_MX
 
23. Advanced Datatypes and New Application in DBMS
23. Advanced Datatypes and New Application in DBMS23. Advanced Datatypes and New Application in DBMS
23. Advanced Datatypes and New Application in DBMS
koolkampus
 
Geographic information system
Geographic information systemGeographic information system
Geographic information system
Sumanta Das
 

Andere mochten auch (20)

ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtapADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
 
Introduction to Geographical Information System, GIS data models, spatial dat...
Introduction to Geographical Information System, GIS data models, spatial dat...Introduction to Geographical Information System, GIS data models, spatial dat...
Introduction to Geographical Information System, GIS data models, spatial dat...
 
2015 FOSS4G Track: The Spatial Database - Lessons from the Enterprise and Pos...
2015 FOSS4G Track: The Spatial Database - Lessons from the Enterprise and Pos...2015 FOSS4G Track: The Spatial Database - Lessons from the Enterprise and Pos...
2015 FOSS4G Track: The Spatial Database - Lessons from the Enterprise and Pos...
 
Spatial database
Spatial databaseSpatial database
Spatial database
 
Internet, Database, Cyber Crime
Internet, Database,  Cyber CrimeInternet, Database,  Cyber Crime
Internet, Database, Cyber Crime
 
Project design and research methods in gis
Project  design and research methods in gisProject  design and research methods in gis
Project design and research methods in gis
 
Emerging database technology multimedia database
Emerging database technology   multimedia databaseEmerging database technology   multimedia database
Emerging database technology multimedia database
 
Datawarehouse Overview
Datawarehouse OverviewDatawarehouse Overview
Datawarehouse Overview
 
What is GIS?
What is GIS?What is GIS?
What is GIS?
 
Spatial vs non spatial
Spatial vs non spatialSpatial vs non spatial
Spatial vs non spatial
 
What is GIS
What is GISWhat is GIS
What is GIS
 
Spatial
SpatialSpatial
Spatial
 
Mobile dbms
Mobile dbmsMobile dbms
Mobile dbms
 
Multimedia Database
Multimedia Database Multimedia Database
Multimedia Database
 
23. Advanced Datatypes and New Application in DBMS
23. Advanced Datatypes and New Application in DBMS23. Advanced Datatypes and New Application in DBMS
23. Advanced Datatypes and New Application in DBMS
 
Interior space
Interior spaceInterior space
Interior space
 
Geographic information system
Geographic information systemGeographic information system
Geographic information system
 
Gis (geographic information system)
Gis (geographic information system)Gis (geographic information system)
Gis (geographic information system)
 
Intro to GIS and Remote Sensing
Intro to GIS and Remote SensingIntro to GIS and Remote Sensing
Intro to GIS and Remote Sensing
 
What Is GIS?
What Is GIS?What Is GIS?
What Is GIS?
 

Ähnlich wie Spatial Database Systems

Google BigQuery is a very popular enterprise warehouse that’s built with a co...
Google BigQuery is a very popular enterprise warehouse that’s built with a co...Google BigQuery is a very popular enterprise warehouse that’s built with a co...
Google BigQuery is a very popular enterprise warehouse that’s built with a co...
Abebe Admasu
 

Ähnlich wie Spatial Database Systems (20)

spatial databases ADBMS ppt
spatial databases ADBMS pptspatial databases ADBMS ppt
spatial databases ADBMS ppt
 
Scattered gis handbook
Scattered gis handbookScattered gis handbook
Scattered gis handbook
 
UG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptx
UG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptxUG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptx
UG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptx
 
Token
TokenToken
Token
 
GIS and Remote Sensing Training at Pitney Bowes Software
GIS and Remote Sensing Training at Pitney Bowes SoftwareGIS and Remote Sensing Training at Pitney Bowes Software
GIS and Remote Sensing Training at Pitney Bowes Software
 
TYBSC IT PGIS Unit IV Spacial Data Analysis
TYBSC IT PGIS Unit IV  Spacial Data AnalysisTYBSC IT PGIS Unit IV  Spacial Data Analysis
TYBSC IT PGIS Unit IV Spacial Data Analysis
 
A Journey to the World of GIS
A Journey to the World of GISA Journey to the World of GIS
A Journey to the World of GIS
 
Fundamentals of GIS and Database Management for Disaster Management
Fundamentals of GIS and Database Management for Disaster ManagementFundamentals of GIS and Database Management for Disaster Management
Fundamentals of GIS and Database Management for Disaster Management
 
3-1_geo Spatial analysis_spatial_modeling.pptx
3-1_geo Spatial analysis_spatial_modeling.pptx3-1_geo Spatial analysis_spatial_modeling.pptx
3-1_geo Spatial analysis_spatial_modeling.pptx
 
Data warehousing and data mining Chapter 9
Data warehousing and data mining Chapter 9Data warehousing and data mining Chapter 9
Data warehousing and data mining Chapter 9
 
DATA in GIS and DATA Query
DATA in GIS and DATA QueryDATA in GIS and DATA Query
DATA in GIS and DATA Query
 
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal OgudahGis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
 
Ch1revised
Ch1revisedCh1revised
Ch1revised
 
Data models in geographical information system(GIS)
Data models in geographical information system(GIS)Data models in geographical information system(GIS)
Data models in geographical information system(GIS)
 
slides Spatial Econometrics Methods using Stata
slides Spatial Econometrics Methods using Stataslides Spatial Econometrics Methods using Stata
slides Spatial Econometrics Methods using Stata
 
MapReduceAlgorithms.ppt
MapReduceAlgorithms.pptMapReduceAlgorithms.ppt
MapReduceAlgorithms.ppt
 
Google BigQuery is a very popular enterprise warehouse that’s built with a co...
Google BigQuery is a very popular enterprise warehouse that’s built with a co...Google BigQuery is a very popular enterprise warehouse that’s built with a co...
Google BigQuery is a very popular enterprise warehouse that’s built with a co...
 
3 D Analyst
3 D Analyst3 D Analyst
3 D Analyst
 
PDQ Poster
PDQ PosterPDQ Poster
PDQ Poster
 
Mining of massive datasets
Mining of massive datasetsMining of massive datasets
Mining of massive datasets
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Spatial Database Systems

  • 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