SQL/SDA: A Query Language for Supporting Spatial Data Analysis and Its Web-Based Implementation SQL/SDA: A Query Language for Supporting Spatial Data Analysis.

Slides:



Advertisements
Similar presentations
Access control for geospatial information objects using/extending the eXtensible Access Control Markup Language Andreas Matheus, Technische Universität.
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.
Department of Geoinformation Science Technische Universität Berlin Geo-Databases: lecture 8 Management of Spatial Data Prof. Dr. Thomas H. Kolbe Institute.
Spatial Query Languages Standard Database Query Languages.
Object Relational Model Spatial Queries. Query Model Spatial Layer Data Table where coordinates are stored Primary Filter Spatial Index Index retrieves.
Data Storage and Processing GIS Topics and Applications.
Spatial Information Systems (SIS) COMP Spatial queries and operations.
Spatial Outlier Detection and implementation in Weka Implemented by: Shan Huang Jisu Oh CSCI8715 Class Project, April Presented by Jisu.
Geographic Information Systems
TECNOLOGIAS DE ARMAZENAMENTO DE INFORMAÇÃO ESPACIAL.
GTECH 731 Lab Session 8 10/26/10 Lab 7 Geotools. Previous Labs Labs designed to gradually introduce C# and Visual Studio Started with simple, straight.
Geographic Information Systems and Science SECOND EDITION Paul A. Longley, Michael F. Goodchild, David J. Maguire, David W. Rhind © 2005 John Wiley and.
Spatial SQL: A Query and Presentation Language Max J. Egenhofer (Presenter: Yi-Shin Chen)
Introduction to ArcView
Open Source Databases and GIS
Chapter 2 Database System Concepts and Architecture
University of California , San Diego (UCSD)
JTS Topology Suite JTS Topology Suite An API for Processing Linear Geometry Martin Davis, Senior Technical Architect
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.
Parcel Data Models for the Geodatabase
Implemented Systems Presenter: Manos Karpathiotakis Extended Semantic Web Conference 2012.
“Codd’s Rules for Spatial ORDBMS”
Spatial Databases ENVE/CE 424/524. Definitions Database – an integrated set of data on a particular subject Spatial database - database containing geographic.
Spatial Database Souhad Daraghma.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
Spatial Query Language Group No.15 Dhruv Dhokalia Yash Khandelwal Course Relation- Chapter 11- Object and Object-Relational Databases.
SQL and SSQL IT4GIS Keith T. Weber, GISP GIS Director, ISU.
6. Simple Features Specification Background information UML overview Simple features geometry.
How to Spatially Enable Your IBM Informix Database Chris Bosch.
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
Complex Data Transformations in Digital Libraries with Spatio-Temporal Information B. Martins, N. Freire, J. Borbinha Instituto Superior Técnico, Technical.
____________________________ Raster GIS & Modeling ( )
University of L’Aquila, Department of Electrical and Information Engineering
Chapter 3:Spatial Query Languages 3.1 Standard Database Query Languages 3.2 Relational Algebra 3.3 Basic SQL Primer 3.4 Extending SQL for Spatial Data.
Spatial Tajo Supporting Spatial Queries on Apache Tajo Slideshare Shorten URL : goo.gl/j0VLXpgoo.gl/j0VLXp.
Role of Spatial Database in Biodiversity Conservation Planning Sham Davande, GIS Expert Arid Communities Technologies, Bhuj 11 September, 2015.
Chapter 2 Database System Concepts and Architecture Dr. Bernard Chen Ph.D. University of Central Arkansas.
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
Spatial Database Tips & Tricks Paul Ramsey
Spatial DBMS Spatial Database Management Systems.
Query and Reasoning. Types of Queries Most GIS queries will select spatial features Query by Attribute (Select by Attribute) –Structured Query Language.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
John Pickford IBM H11 Wednesday, October 4, :30. – 14:30. Platform: Informix Practical Applications of IDS Extensibility (Part 2 of 2)
Intro to GIS | Summer 2012 Attribute Tables – Part 1.
Presented by: Daniel Hess, Yun Zhang. Motivation Problem statement Major contributions Key concepts Validation methodology Assumptions Recommended changes.
Client-Server Paradise ICOM 8015 Distributed Databases.
Query Processing – Query Trees. Evaluation of SQL Conceptual order of evaluation – Cartesian product of all tables in from clause – Rows not satisfying.
Lecture 10 Creating and Maintaining Geographic Databases Longley et al., Ch. 10, through section 10.4.
Spatial data models Raster –exhaustive regular or irregular partitioning of space –associated with the field view –location-based Vector –points, lines,
NSF DUE ; Wen M. Andrews J. Sargeant Reynolds Community College Richmond, Virginia.
SQL Server 2005 XML Datatype David Wilson Ohio North SQL Server Special Interest Group July 12, 2007.
GIS Site Suitability Analysis for developing a vineyard in Sonoma County, CA ____________________________ David Jaquet Raster GIS & Modeling ( )
Definition of Spatial Analysis
Proximity Spider Project by Ganesh Naikare Project Advisor: Professor Scott Spetka.
Chapter 9: Web Services and Databases Title: NiagaraCQ: A Scalable Continuous Query System for Internet Databases Authors: Jianjun Chen, David J. DeWitt,
Chapter 13: Query Processing
GTECH 361 Lecture 09 Features in the Geodatabase.
CENTENNIAL COLLEGE SCHOOL OF ENGINEERING & APPLIED SCIENCE VS 361 Introduction to GIS SPATIAL OPERATIONS COURSE NOTES 1.
Topological relations from metric refinements Egenhofer, M. J. and Dube, M. P ACM SIGSPATIAL GIS '09 Presenter : Murat Demiray Narrative : Mustafa Karamavus.
Lecture 3: Spatial Data Management Dr. Taysir Hassan Abdel Hamid Associate Professor, Information Systems Dept., Faculty of Computers and Information.
UNIT 3 – MODULE 3: Raster & Vector
Topics  Direct Predicate Characterization as an evaluation method.  Implementation and Testing of the Approach.  Conclusions and Future Work.
Chapter 2 Database System Concepts and Architecture
Geographic Information Systems
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Spatial Data Types And Indexing SQL Server 2008
Relational Algebra Chapter 4, Sections 4.1 – 4.2
Mastering ArcGIS Chapter 7 Queries.
JTS Topology Suite An API for Processing Linear Geometry
Presentation transcript:

SQL/SDA: A Query Language for Supporting Spatial Data Analysis and Its Web-Based Implementation SQL/SDA: A Query Language for Supporting Spatial Data Analysis and Its Web-Based Implementation Written by: Hui Lin Bo Huang IEEE Transaction of Knowledge and Data Engineering (TKDE), July/August, Presented by Shan Huang (Group 2) Slides Available at

Topics: Motivation Problem Statement Major Contribution Key Concept Validation Methodology Assumption Rewrite

Motivation Limited GIS-based decision-making Spatial analysis functions  no effective interface to support user request Current spatial query language (Spatially Extended SQLs)  Representation of spatial data  Management of spatial data Complexity of current GIS-software

Motivation (contd.) Find a land parcels suitable for growing coffee.  Evaluation criteria temperature, altitudes, area >1000, etc.

Problem Statement Given  Spatial Data  Spatial Data Type  Spatial Data Analysis Function Find  Extensions to SQL  Web-based Interface for Spatial Data Analysis Constrains  Relational Database  SQL with Geometry Types Objective  Easy to use  Efficient  Ease of Expressing Spatial Questions

Major Contribution SQL/SDA  Restructuring the FROM Clause Visual Interface and Hybrid Model  Takes advantage of the Web GIS Design in Client/Server Environment Client – provides a query interface Server – carry out query processing on spatial databases

Key Concepts Spatial Feature  Spatial attributes (e.g., coordinates and topological relationships)  Non-Spatial attributes (e.g., name and size) Spatial Data Type  Geometry: Point, Linestring, Polygon, Collection Collection: Multipoint, Multilinestring, Multipolygon

Key Concepts (contd.) Spatial Analysis Functions Function PurposeFunction Name PropertyAccess properties of spatial features AREA, LENGTH, CENTROID Spatial Relationship Test spatial relationships EQUALS, DISJOINT, TOUCH, WITHIN, OVERLAP, CROSS, INTERSECTS, CONTAINS MetricCalculate distance and direction DISTANCE, DIRECTION DerivationCreate a new set of spatial features VORONOI, BUFFER, CONVEXHULL, INTERSECTION, DIFFERENCE, UNION, FUSION

OGISSQL/SDA Spatial datatypes Point, Curve, Surface, MultiPoin, MultiCurve, MultiSurface Spatial operations Basic topological and metric spatial relationships Richer set of operations CENTROID, DIRECTION, FUSION OGIS vs. SQL/SDA

FROM Clause Structure and Syntax of SQL/SDA  Align with the SQL design concept SELECT - projection FROM - Cartesian product WHERE - selection Restructured FROM Clause  Employ a subquery  Create an intermediate relation as a new derived attributes  Append attributes to the Cartesian product

Key Concepts (contd.) Example of SQL/SDA query Display the land parcels and their corresponding area on the condition that the landuse type of each parcels brush land and soil type is ‘A’ and area is between 700 hectares to 900 hectares landuse(ID, Type, Location) soil (ID, type, Location) SELECT lu.ID, sl.ID, ILocation, areaval FROM ( SELECT *, OVERLAP ( lu.Location, sl.Location ) AS overlapval, INTERSECTION ( lu.location,sl.location ) AS iLocation, AREA (iLocation) AS areaval FROM landuse as lu, soil AS sl ) WHERE lu.type = ‘Brushland’ AND sl.type = ‘A’ AND overlapval = True AND areaval > 700 AND areaval < 900  View.  In SQL, this is called inline view.

Key Concepts (contd.) CREATE VIEW LandArea AS SELECT lu.ID AS landID, sl.ID AS soidID, OVERLAP ( lu.Location, sl.Location ) AS overlapval, INTERSECTION ( lu.location,sl.location ) AS iLocation, AREA (iLocation) AS areaval FROM landuse as lu, soil AS sl WHERE lu.type = ‘Brushland’ AND sl.type = ‘A’ SELECT landID, soidID, iLocation, areaval FROM LandArea WHERE overlapval = True AND areaval > 700 AND areaval < 900

Key Concepts (contd.) Solution Fig.2. The intermediate relation of the FROM clause in query

Key Concepts (contd.) Solution (contd.) Fig. 3. The result of query

Key Concepts (contd.) Implementation of SQL/SDA on the Web Client provides query interface Server Query processor and Spatial Database Engine (SDE) carry out query processing

Validation Methodology + Examples of SQL/SDA queries + Case Study  Macro Languages of GIS Difficult to learn No optimization strategy  Previous Spatially Extended SQLs (SESOL) spatial relationship and metric constrains, derivation functions are not accommodated Spatial functions are applied in the main SELECT or WHERE clause

Assumption Spatial indexing is already provided by Spatial Data Engine (SDE) Users  familiar with SQL and relational database  familiar with spatial data types and operations

Rewrite Perform user studies to evaluate the ease of expressing spatial queries Making the query interface more friendlier Query optimization

Thanks!