Spatial Concepts and Data Models Reading: Shekhar & Chawla Chapter 2 November 22, 2005.

Slides:



Advertisements
Similar presentations
Three-Step Database Design
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.
Chapter 2: Spatial Concepts and Data Models Introduction. 2
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
Center for Modeling & Simulation.  A Map is the most effective shorthand to show locations of objects with attributes, which can be physical or cultural.
GIS for Environmental Science
1 Enviromatics Spatial database systems Spatial database systems Вонр. проф. д-р Александар Маркоски Технички факултет – Битола 2008 год.
Raster Based GIS Analysis
Spatial Database Systems
Geog 458: Map Sources and Errors January Representing Geography.
Spatial Information Systems (SIS) COMP Spatial queries and operations.
Cartographic and GIS Data Structures
Geog 458: Map Sources and Errors Uncertainty January 23, 2006.
Geographic Information Systems
PROCESS IN DATA SYSTEMS PLANNING DATA INPUT DATA STORAGE DATA ANALYSIS DATA OUTPUT ACTIVITIES USER NEEDS.
©2005 Austin Troy. All rights reserved Lecture 3: Introduction to GIS Part 1. Understanding Spatial Data Structures by Austin Troy, University of Vermont.
Spatial databases: Introduction Geog 495: GIS database design.
1 CIS / Introduction to Business GIS Winter 2005 Lecture 2 Dr. David Gadish.
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
Spatial data Visualization spatial data Ruslan Bobov
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.
Chapter 2: Spatial Concepts and Data Models 2.1 Introduction 2.2 Models of Spatial Information 2.3 Three-Step Database Design 2.4 Extending ER with Spatial.
Spatial Database Souhad Daraghma.
Week Aug-10 – Aug-15 Introduction to Spatial Computing CSE 5ISC Some slides adapted from Worboys and Duckham (2004) GIS: A Computing Perspective, Second.
GIS 1110 Designing Geodatabases. Representation Q. How will we model our real world data? A. Typically: Features Continuous Surfaces and Imagery Map Graphics.
Spatial Query Language Group No.15 Dhruv Dhokalia Yash Khandelwal Course Relation- Chapter 11- Object and Object-Relational Databases.
Applied Cartography and Introduction to GIS GEOG 2017 EL
SQL and SSQL IT4GIS Keith T. Weber, GISP GIS Director, ISU.
–combines elements of computer science –database design –software design geography –map projections –geographic reasoning mathematics –mathematical topology.
IST 210 Introduction to Spatial Databases. IST 210 Evolution of acronym “GIS” Fig 1.1 Geographic Information Systems (1980s) Geographic Information Science.
Major parts of ArcGIS ArcView -Basic mapping, editing and Analysis tools ArcEditor -all of ArcView plus Adds ability to deal with topological and network.
 Trace the incremental algorithm for constructing convex data on the sample point data given below. Intermediate steps should be shown First, two steps.
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
Cartographic and GIS Data Structures Dr. Ahmad BinTouq URL:
URBDP 422 Urban and Regional Geo-Spatial Analysis Lecture 2: Spatial Data Models and Structures Lab Exercise 2: Topology January 9, 2014.
1 Spatial Data Models and Structure. 2 Part 1: Basic Geographic Concepts Real world -> Digital Environment –GIS data represent a simplified view of physical.
Spatial Databases - Introduction Spring, 2015 Ki-Joune Li.
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
Spatial DBMS Spatial Database Management Systems.
Levels of Image Data Representation 4.2. Traditional Image Data Structures 4.3. Hierarchical Data Structures Chapter 4 – Data structures for.
A Quick Introduction to GIS
Lecture 10 Creating and Maintaining Geographic Databases Longley et al., Ch. 10, through section 10.4.
Cartography Developing a Spatial Perspective. Developing spatial awareness F Two interconnected concepts of objects and measurements. F Use objects to.
U.S. Census Data & TIGER/Line Files
Towards Unifying Vector and Raster Data Models for Hybrid Spatial Regions Philip Dougherty.
Which are Spatial Data? Names address NASA satellites imagery Weather and Climate Data SSN Medical Imaging NASA satellites imagery - terabytes of.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
CENTENNIAL COLLEGE SCHOOL OF ENGINEERING & APPLIED SCIENCE VS 361 Introduction to GIS SPATIAL OPERATIONS COURSE NOTES 1.
Chapter 2: Spatial Concepts and Data Models
Topological relations from metric refinements Egenhofer, M. J. and Dube, M. P ACM SIGSPATIAL GIS '09 Presenter : Murat Demiray Narrative : Mustafa Karamavus.
Data Storage & Editing GEOG370 Instructor: Christine Erlien.
Geog 495 Final Exam Review 11/23/05 Final exam on 11/28/05 Mon.
Lesson 3 GIS Fundamentals MEASURE Evaluation PHFI Training of Trainers May 2011.
Chapter 2: Spatial Concepts and Data Models 2.1 Introduction 2.2 Models of Spatial Information 2.3 Three-Step Database Design 2.4 Extending ER with Spatial.
Lecturer 2: Spatial Concepts and Data Models Introduction. 2
Introduction to Spatial Computing CSE 555
GIS Institute Center for Geographic Analysis
Spatial Database Systems
Geographical Information Systems
Introduction to Spatial Databases (2)
Geographic Information Systems
Spatial Concepts and Data Models
Cartographic and GIS Data Structures
Spatial Database Systems
ISU-GIS Training and Research Center
Spatial Databases - Introduction
Spatial Databases - Introduction
GIS Institute Center for Geographic Analysis
GIS Institute Center for Geographic Analysis
Presentation transcript:

Spatial Concepts and Data Models Reading: Shekhar & Chawla Chapter 2 November 22, 2005

Outlines This chapter introduces spatial data model from Spatial ORDBMS perspectives –Main concern is to define spatial data types and spatial operators in DBMS level –You’re encouraged to compare this with GIS perspectives where file-system is prevalent Models of spatial information –Object vs. field view define different spatial data types –Operations on different spatial data types Database design –Conceptual DB design tools can be extended to accommodate into spatial concepts (consensus is still lacking in this regard)

Part I. Models of spatial information

Two common views Object view measures space –Forest stands are seen as three polygon Field view measures attribute –Forest stands are seen as mathematical function given spatial framework

Spatial object types in OGIS Data Model

Exercise Example ObjectOGIS Spatial Object Type Dimension City (in small scale map) River Country Hawaiian islands Bus route

Operations on spatial data type What are the examples of operations on different data type (e.g. string, number)? Let’s say you define spatial data type, then what kind of operations would you build in your SDBMS? Introducing the typology of operations on different spatial data types (field and object)…

Types of field operations Local: value of the new field at a given location in the spatial frame-work depends only on the value of the input field at that location (e.g. Thresholding) Focal: value of the resulting field at a given location depends on the values that the input field assumes in a small neighborhood of the location (e.g. Gradient) Zonal : Zonal operations are naturally associated with aggregate operators or the integration function. An operation that calculates the average height of the trees for each species is a zonal operation. Worboy M, 1995, GIS: A Computing Perspectives

Exercise Classify following operations on elevation field –Identify peaks (points higher than its neighbors) –Identify mountain ranges (elevation over 2000 feet) –Determine average elevation of a set of river basins

Natural language that describes relationships between spatial objects The relationships between you (or your house) and UW campus can be described differently –I’m passing by U-Village in the left hand side –I live north of UW campus –My house is 4 miles from UW campus Can be seen as operations between point (you) and polygon (UW Campus) Q. Which of the above would you find it easier to identify? Q. how our brain structures geographic space –We are terrible in estimating distances, maybe only slightly better in retaining direction and orientation, but fairly good when it comes to remembering topological relationships (from the text p. 11) Q. Which of the above measures topological relationship? Q. Which of the above reveals metric information?

Topology and metrics Topology –properties of geometric figures that are invariant under continuous deformation (this kind of spatial relationship will remain the same after projection or transformation which is common in GIS) –E.g. adjacency, containment, and overlap –Learned by humans at a very early age Metric –E.g. size, shape, distance, or direction –Refine, rather than define, spatial relations –Can be expressed either quantitative or qualitatively –E.g. 10 degree, NW, North of, Near Mark DM, 1999, Spatial Representation: A Cognitive View. In Maguire, D. J., Goodchild, M. F., Rhind, D. W., and Longley, P. (editors) Geographical Information Systems: Principles and Applications, 2nd edition, v. 1, pp

Types of object operations Topological –Inside (point, region) –Touches (region, region) –Overlap (region, region) Metric –Euclidean-distance (point, point) –Direction (point, point) –Length (arc) –Area (region)

Egenhofer’s 9-intersection model Many spatial relations between objects are topological in nature Many spatial objects take the form of polygon (or region) at some level What is the topological relationship between polygon object A and polygon object B? Can we formalize them?

Interior, boundary, exterior –Let A be an object in a “Universe” U. Green is A interior Red is boundary of A Blue –(Green + Red) is A exterior A U

9 intersections –A and B are spatial objects in a two dimensional plane. –intersections between interior, boundary, exterior of A, B –Can be arranged as a 3 by 3 matrix –Matrix element take a value of 0 (false) or 1 (true).

9-intersection model can be supported in SQL3 So you can do the following queries in SDBMS: SELECT Parcel.name FROM Parcel, SoilUnit WHERE Within(Parcel.geo, SoilUnit.geo) AND SoilUnit.category = 4; Commercial SDBMS includes topological operators in their module –Oracle Spatial –Informix Spatial DataBlade

Part II. DB Design Extending conceptual DB design tools with Spatial Concepts

Example: ERD for State-park database Spatial entity is represented with multi-valued attributes (e.g. Lineid, Pointid) Spatial attributes are simply treated as any other nonspatial attributes

Pictogram – spatial object type Basic shape

Pictogram – spatial object type Multishape example: –Hawaiian islands

Pictogram – spatial object type Derived shape example –City center point from boundary polygon –The shape of the US can be derived from the US from the shapes of its state boundaries

Pictogram – spatial object type Alternate shape example: –A road is represented as a polygon for construction or as a line for navigation –A river can be represented as a polygon or a line depending on the scale (multiple representation)

ERD with pictogram As spatial data type (point, line, polygon), and spatial operations (within, crosses) are defined, spatial semantics are captured better

UML with pictogram

Exercise Draw the ERD or UML of your project database with pictogram –Make sure to indicate specifics of spatial object type that conform to OGIS spec. (1) basic shape (2) multishape if any (3) derived shape if any (4) alternate shape if any

Discussions As most of you use relational database, our ability to extend relational database to spatial concept is limited. In other words, you can’t define spatial data type or spatial functions (or operators) How would you store field value (e.g. elevation) in relational database? Can you link your table to raster image? Can you write the SQL that returns the distance between two points? Can you write the SQL that returns whether point A is within region B? Hint: can be done if spatial attribute is treated as nonspatial attribute, also use derived attribute

P4 Populate your database Use Select * from tablename Turn in the printout of results of select statement (or capture images) Indicate spatial data type of two spatial entities using pictogram (hand-written) over your final ERD or UML Indicate spatial reference system of your database