1 / 15

Spatial Database Systems

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.

jabari
Download Presentation

Spatial Database Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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 region point line

  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)] y2 y1 x2 x1

  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. Indexing using PAMs • 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

  14. Suggested Projects • Survey on Spatio-temporal Index Methods • Buffering Methods for Spatio-temporal Access Methods • Experimental Comparison of Index Methods for Moving Objects • Spatio-temporal Aware R-tree • R-tree Optimized for Update Intensive Applications • Spatio-temporal Join Algorithms • Main-memory Structure for Indexing Moving Objects

  15. Suggested Projects – DM • Efficient Biased Sampling Methods • Similarity Models for Time Series • Indexing Multidimensional Time Series • HMMs for Time Series and Trajectories • Clustering Web Users • Summarize Streams of Correlated Tuples

More Related