Download presentation
Presentation is loading. Please wait.
Published byAngelina Mathews Modified over 9 years ago
1
Spatial Databases: A Quick Tour Dr. David Briggs Professor & Researcher Computer Science Department Research Computer Group & ISIS University of Southern Maine GeoPortal Project Maine GeoLibrary Board
2
Combining Spatial and Conventional Data In Visual Presentations In a DBMS Across the Internet
3
Some Early Examples of Visual Representations 1. Dr. Snow's Map of Cholera Cases (1854) 2. Minard's Depiction of Napoleon's Russian Campaign (1869) 3. U.S. Army's Map of Ocean Currents (1943) 4. Minard's Map of Cattle Shipped to Paris (1858)
4
John Snow’s Map of Cholera Outbreak Image Source: http://www.ph.ucla.edu/epi/snow/highressnowmap.html
5
John Snow’s Map of Cholera Outbreak
6
Minard’s Map of Napoleon’s Russian Campaign Image Source: http://upload.wikimedia.org/wikipedia/commons/2/29/Minard.png
7
Berezina River Crossing
8
Ocean Currents of the World Image Source: http://upload.wikimedia.org/wikipedia/commons/6/67/Ocean_currents_1943_(borderless)3.png
9
Gulf Stream Ocean Current
10
Minard’s Map of Cattle Shipments to Paris Image Source: http://upload.wikimedia.org/wikipedia/commons/1/1c/Minard-carte-viande-1858.png
11
Imaginative Visual Representations of Data Embedded in Maps Can convey information in a striking and compelling manner Can suggest connections that the same data in a tabular format would not
12
Animation of Images Annual Cycle of Temperatures Map cold to blue hot to red in a color ramp Temperatures at noon over a uniformly tesselated region of the country for each day of the year Play out to see annual pattern What might be revealed? Would different elevations show themselves? Would cloud cover show itself? Daily Cycle of Temperatures Simultaneous temperatures every quarter hour over the same region for one day Play out to see a diurnal pattern
13
Conventional Databases and Spatial Information All phenomena occur in a spatial-temporal matrix, so with few exceptions, knowledge and facts have a spatial aspect Conventional databases have temporal types for dates and times, and support their linear ordering relations Conventional databases representation of spatial entities such as locations or regions is by names given as strings ("15 Main Street", "Connecticut", "Lot #8" of "Map 84") Name representations do not support operations
14
Spatial Databases (Conceptually) Treat spatial data types comparably to conventional types like string, integer, or float Add operations and predicates appropriate for them
15
OGC's Simple Features UML diagram Image Source: http://www.opengeospatial.org/standards/sfs
16
Operations from OGC's Simple Features SQL Real valued: length, area, distance,... Boolean valued: disjoint, touches, within, overlaps,... Geometry valued: startpoint, endpoint, envelope,... Caveat: machine implementation of real arithmetic is not exact!
17
OGC’s Suggested Incorporation into Relational Model Feature (=Entity) Tables with Geometry valued attributes have columns containing foreign keys to where the actual values are stored. Within a Geometry table All rows/instances are the same geometric type (so the regions will need to be multi polygons) All rows/instance use the same Spatial Reference System Example: States with capitals and regions StName…CapitalCapitalPoint…Region Maine…Augustaalpha…beta GID… alpha… GID… beta… CityPoints_Table StatePolygons_Table Geometry Tables States_Table
18
Implementation Techniques Relational Databases use B-tree Indices Spatial Databases use R-tree Indices to Filter Instances Before Applying Spatial Predicates. Image Sources: http://www.filibeto.org/sun/lib/nonsun/oracle/11.1.0.6.0/B28359_01/appdev.111/b28400/rt_tree.gif http://download.oracle.com/docs/html/A88805_01/sdo_int7.gif
19
Sharing Spatial Data Over the Web Standard Interfaces Metadata Standards Data Mediation
20
Open Geospatial Consortium, Inc. (OGC) Standards Simple Features SQL – Describes extensions to the SQL data model with suggestions for implementation Geography Markup Language (GML) – An XML schema for defining schemas involving spatial data Web Map Service (WMS) – For delivering a map image files in response to requests Web Feature Service (WFS) – For executing queries and updates against a spatial database Styled Layer Descriptor (SLD) – Augments WMS by allowing user input to control styling of map images (colors and symbology) Many more! – Unfortunately, most use XML as the medium of information exchange over the net.
21
Metadata Standards Primary Purpose Provide potential users with enough information about the actual data to determine if it is fit for their intended use of it, among other things. ISO 19115 – Metadata – Some 400 elements, approximately 50 are needed for level I compliance. Another XML schema Partial List of Categories – Identification Data Information – Data Quality Information – Lineage Information – Reference System Information – Spatial Representation Information – Feature Catalog Information – Distribution Information Importance of Metadata
22
Data Mediation - Overcoming Differences Common "Ontology“ (really a schema integration problem) Central Data Warehouse vs. Federated Database – Central Data Warehouse brings all data into one site.
23
Federated Database System Image Source: http://www-128.ibm.com/developerworks/db2/library/techarticle/0203haas/images/federated.gif
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.