Www.spatialanalysisonline.com Chapter 4 Part C: Queries, Computations & Map Algebra.

Slides:



Advertisements
Similar presentations
Methodological context
Advertisements

Chapter 7 Part B: Locational analysis.
Chapter 2 Conceptual frameworks for spatial analysis.
Chapter 7 Part A: Network analysis.
Chapter 5 Part A: Spatial data exploration.
Chapter 4 Part A: Geometric & related operations.
Chapter 4 Part B: Distance and directional operations.
Chapter 4 Joining Multiple Tables
1 Computational Geometry Chapter Range queries How do you efficiently find points that are inside of a rectangle? –Orthogonal range query ([x 1,
Introdução to Geoinformatics: Geometries. Vector Model Lines: fundamental spatial data model Lines start and end at nodes line #1 goes from node #2 to.
Department of Geoinformation Science Technische Universität Berlin Geo-Databases: lecture 8 Management of Spatial Data Prof. Dr. Thomas H. Kolbe Institute.
Copyright © 2004 Pearson Education, Inc.. Chapter 15 Algorithms for Query Processing and Optimization.
Spatial Join Queries. Spatial Queries Given a collection of geometric objects (points, lines, polygons,...) organize them on disk, to answer point queries.
Database System Concepts, 5th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com ICOM 5016 – Database Systems.
Murach's MySQL, C3© 2012, Mike Murach & Associates, Inc.Slide 1.
Object Relational Model Spatial Queries. Query Model Spatial Layer Data Table where coordinates are stored Primary Filter Spatial Index Index retrieves.
Chapter 12 and Chapter 3 Geometry Terms.
Geometry Chapter Polygons. Convex Polygon – a polygon with a line containing a side with a point in the interior of the polygon.
Spatial Data Mining. 2 Introduction Spatial data mining is the process of discovering interesting, useful, non-trivial patterns from large spatial datasets.
Oracle8i Spatial Concepts. Concepts Geometric data types Oracle8i Spatial data model Spatial Layers Spatial query model Spatial indexing «Window» queries.
Oracle spatial – Creating spatial tables Object Relational Model Creating Spatial Tables.
Geographic Information Systems
January 30, 2006Site Selection - IAP 2006 Site Selection – Making Spatial Decisions Using GIS IAP 20061/30/06.
Graphics Output Primitives Pixel Addressing and Fill Area Dr. M. Al-Mulhem Feb. 1, 2008.
What is Where? u Getting Started With Geographic Information Systems u Chapter 5.
Geographic Information Systems and Science SECOND EDITION Paul A. Longley, Michael F. Goodchild, David J. Maguire, David W. Rhind © 2005 John Wiley and.
Lab 10: Spatial Queries You have been asked to determine what census tract that each parcel Property is contained. How will you find the tract number for.
Object Relational Model Creating Spatial Tables. Concepts Describe the schema associated with a spatial layer Explain how spatial data is stored using.
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.
Spatial Query Language Group No.15 Dhruv Dhokalia Yash Khandelwal Course Relation- Chapter 11- Object and Object-Relational Databases.
 Trace the incremental algorithm for constructing convex data on the sample point data given below. Intermediate steps should be shown First, two steps.
6. Simple Features Specification Background information UML overview Simple features geometry.
How to Spatially Enable Your IBM Informix Database Chris Bosch.
University of L’Aquila, Department of Electrical and Information Engineering
City of Chula Vista using query layers to map field work Bob Blackwelder City of Chula Vista.
(7.6) Geometry and spatial reasoning The student compares and classifies shapes and solids using geometric vocabulary and properties. The student is expected.
6.1.1 RATIOS, PROPORTIONS, AND THE GEOMETRIC MEAN Chapter 6: Similarity.
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
Spatial DBMS Spatial Database Management Systems.
1 How robust is your spatial query ? A formal taxonomy to express spatial intersections Yao Cui and Michael Ross Integrated Land Management Bureau Victoria,
John Pickford IBM H11 Wednesday, October 4, :30. – 14:30. Platform: Informix Practical Applications of IDS Extensibility (Part 2 of 2)
A Quick Introduction to GIS
Vertices, Edges and Faces By Jordan Diamond. Vertices In geometry, a vertices is a special kind of point which describes the corners or intersections.
U.S. Census Data & TIGER/Line Files
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall Areas in the Plane Section 7.2.
CS6234 Advanced Algorithms - Convex hull. Terminologies – ◦ Convex hull of a set Q of points is the smallest convex polygon P for which each point in.
CENTENNIAL COLLEGE SCHOOL OF ENGINEERING & APPLIED SCIENCE VS 361 Introduction to GIS SPATIAL OPERATIONS COURSE NOTES 1.
Lecture 3: Spatial Data Management Dr. Taysir Hassan Abdel Hamid Associate Professor, Information Systems Dept., Faculty of Computers and Information.
Chapter 5 Queries.
GIS Analysis Queries Operations Non-spatial Spatial Vector Raster
Physical Structure of GDB
Angle Relationships By Mr. Q.
Vectors and the Geometry of Space
Grade Seven – Pre-Algebra - Unit 9
ArcToolbox A collection of commands In 11 toolboxes
Basic Spatial Analysis
Geographic Information Systems
Spatial Data Types And Indexing SQL Server 2008
Introdução to Geoinformatics: vector geometries
AMS 345/CSE 355 Computational Geometry
JTS Topology Suite An API for Processing Linear Geometry
Unit 2: Properties of Angles and Triangles
GTECH 709 Spatial relationships
GIS Lecture: Selection
Basic Spatial Analysis Tools
Welcome to GIS in Water Resources 2013
Analytical GIS Capabilities
3D Modeling & Augmented Reality S3(3) 匠印社 3D JOLLYFAB.
Presentation transcript:

Chapter 4 Part C: Queries, Computations & Map Algebra

3 rd editionwww.spatialanalysisonline.com2 Queries, Computations & Map Algebra Queries Non-spatial queries Spatial queries SELECT queries/select by location Other SQL-like queries, e.g. Make table Spatial JOIN and RELATE operations OGC Spatial Relations (See next slide, from 4A)

3 rd editionwww.spatialanalysisonline.com3 MethodDescription Note: a and b are two geometries (one or more geometric objects or features points, line objects, polygons, surfaces including their boundaries); I(x) is the interior of x; dim(x) is the dimension of x, or maximum dimension if x is the result of a relational operation Spatial relations Equalsspatially equal to: a=b Disjoint spatial disjoint: equivalent to a b= Intersects spatially intersects: [a b] is equivalent to [not a disjoint(b)] Touches spatially touches: equivalent to [a b and I(a) I(b)= ]; does not apply if a and b are points Crosses spatially crosses: equivalent to [dim(I(a) I(b))<max{dim(I(a)),dim(I(b))} and a b a and a b b] Within spatially within: within(b) is equivalent to [a b=a and I(a) I(b) ] Containsspatially contains: [a contains(b)] is equivalent to [b within(a)] Overlaps spatially overlaps: equivalent to [dim(I(a) I(b))=dim(I(a))=dim(I(b)) and a b a and a b b] Relatespatially relates, tested by checking for intersections between the interior, boundary and exterior of the two components OGC OpenGIS Simple Features Specification: Spatial Relations Queries, Computations & Map Algebra

3 rd editionwww.spatialanalysisonline.com4 Queries, Computations & Map Algebra Simple computations Field level – attribute processing SQL/Query operations – e.g. Make Table Raster layer operations Basic Map Algebra Single layer operations: local, focal/neighbourhood, zonal, global Multi-layer operations Raster-vector combined operations Algebraic expressions – e.g. C=(A-B)/(A+B)

3 rd editionwww.spatialanalysisonline.com5 Queries, Computations & Map Algebra Map algebra – local operations, multi-grid

3 rd editionwww.spatialanalysisonline.com6 Queries, Computations & Map Algebra Map algebra operations – broader view Resolution, orientation and resampling Classification Algebraic and Statistical operations Proximity/landscape metric operations Surface and hydrological analysis operations Transformation and interpolation Filtering

3 rd editionwww.spatialanalysisonline.com7 Queries, Computations & Map Algebra Grid filtering – Linear (weighted average) Low pass filters, e.g. High pass filters, e.g. Kernels - example Weighted average as integer

3 rd editionwww.spatialanalysisonline.com8 Queries, Computations & Map Algebra Grid filtering – Linear – common image processing functions Sharpening Blurring Edge detection Embossing Gradient operations

3 rd editionwww.spatialanalysisonline.com9 Queries, Computations & Map Algebra Grid filtering – points to note Attribute data range Multi-band image processing Kernel size and shape Single or multi-pass Edge effects User-defined kernels Spatial vs frequency domain filtering

3 rd editionwww.spatialanalysisonline.com10 Queries, Computations & Map Algebra Grid filtering – Non-linear Non-linear local adjustment Local operation, not based on kernel (weighted average) Minimum, Maximum, Variance, IQR Median deviation and thresholding Noise reduction

3 rd editionwww.spatialanalysisonline.com11 Queries, Computations & Map Algebra Grid filtering – Erosion and dilation Erosion – pixel removal/alteration Dilation – pixel addition/alteration Kernels and structural elements Source DEM/image Dilation of source Erosion of source

3 rd editionwww.spatialanalysisonline.com12 Queries, Computations & Map Algebra Ratios, indices and normalisation Spatially extensive variables Spatially intensive variables Normalisation of count data e.g. cars/household, ethnic group counts/1000 population Common types: Averages Proportions/percentages Densities

3 rd editionwww.spatialanalysisonline.com13 Queries, Computations & Map Algebra Standardisation Direct standardisation Regional/national comparisons Indirect standardisation Expected values Excess rates Statistical standardisation Z-scores Range-based (basic or trimmed)

3 rd editionwww.spatialanalysisonline.com14 Queries, Computations & Map Algebra Ratio computations – some issues Division by 0 and missing data handling Normalisation of normalised data Variance instability Divisor selection Appropriateness Availability/accuracy/timeliness Rate selection Raw rates, expected rates, rate smoothing

3 rd editionwww.spatialanalysisonline.com15 Queries, Computations & Map Algebra Point density Density: counts/area (n/A) Occupancy: area/counts (A/n) Zone boundaries/area definition Grid counts (cell shape, size, orientation issues) … need for a boundary free approach … develop ideas from univariate statistics

3 rd editionwww.spatialanalysisonline.com16 Queries, Computations & Map Algebra Point density – kernel methods Uniform 50:50 Box kernel Box sum histogram

3 rd editionwww.spatialanalysisonline.com17 Queries, Computations & Map Algebra Kernel density – Normal kernel function

3 rd editionwww.spatialanalysisonline.com18 Queries, Computations & Map Algebra Kernel density – decisions Functions (finite or infinite) Bandwidth – key criterion (fixed/adaptive) Grid resolution Relative or absolute densities, or probabilities Comparison issues with other density datasets temporal mapped values

3 rd editionwww.spatialanalysisonline.com19 Queries, Computations & Map Algebra Kernel density estimation (KDE) – 2D approach Symmetric functions Finite (e.g. box) or infinite (e.g. Normal) Rotated 1D function 2D function Procedure: Select function and parameters Specify grid resolution (or extent and number of cols/rows) Apply 2D function to each data point and record value at every grid intersection Sum grid intersection values and normalise Map resulting grid

3 rd editionwww.spatialanalysisonline.com20 Queries, Computations & Map Algebra 2D kernels – single point Normal kernel (unbounded) Quartic kernel (bounded)

3 rd editionwww.spatialanalysisonline.com21 Queries, Computations & Map Algebra 2D mapped kernel density – Lung cancer cases, Quartic kernel and Normal kernel

3 rd editionwww.spatialanalysisonline.com22 Queries, Computations & Map Algebra 3D mapped kernel density – lung cancer cases

3 rd editionwww.spatialanalysisonline.com23 Queries, Computations & Map Algebra Kernel density – alternative functions Normal (or Gaussian), Quartic (spherical) (Negative) Exponential, Triangular (conic) Uniform (flat), Epanechnikov (paraboloid/quadratic) Applications Density/probability surface creation/comparisons Case/control analysis Spatio-temporal analysis Hot spot analysis Network analysis (see Okabe et al)

3 rd editionwww.spatialanalysisonline.com24 Queries, Computations & Map Algebra Cartograms Density adjustment – areas represent population

3 rd editionwww.spatialanalysisonline.com25 Queries, Computations & Map Algebra Cartograms Density adjustment – alternative approaches

3 rd editionwww.spatialanalysisonline.com26 Queries, Computations & Map Algebra Line and intersection density Kernel methods applied to linear forms Route systems (and intersections) Line frequency (number per unit area) Length density (length per unit area) Intersection density (intersections per unit of length, per unit area)