Geographical Information Systems and Science Longley P A, Goodchild M F, Maguire D J, Rhind D W (2001) John Wiley and Sons Ltd 9. Geographic Data Modeling © John Wiley & Sons Ltd
Outline Definitions Data models / modeling GIS data models Topology Example Water facilities
Definitions Data model set of constructs for representing objects and processes in the digital environment Representation Focus on conceptual and scientific issues
Role of Data Modeling Real World People Interpretation and Explanation Operational GIS Analysis and Presentation GIS Data Model Description and Representation Line Building Pump House House Street Water Line Water Line Feature Polygon
Data Model Levels Increasing Abstraction Reality Conceptual Model Logical Model Physical Model Human- oriented Computer- oriented
Real World Objects and relationships Database Schema (Object state) Physical Model Modeling Process Conceptual Model Lists, flow diagrams, etc Logical Model Diagram in CASE Tool
GIS Data Models & Applications CAD Graphical Image Raster/Grid TIN Geo-relational Object Engineering design Simple mapping Image processing and analysis Spatial analysis / modeling Surface /terrain analysis / modeling Geoprocessing geometric features Features with behavior
Raster and Vector Models Raster – implementation of field conceptual model Array of cells used to represent objects Useful as background maps and for spatial analysis Vector – implementation of discrete object conceptual model Point, line and polygon representations Widely used in cartography, and network analysis
Raster – Satellite Imagery
Vector - Land Records GIS Survey 9 / / // / / 30.5’26.23’ 20.37’26.23’ 45.81’ 35.44’ R 10’ Survey point Computation Link Surveyed feature
Topology Science and mathematics of geometric relationships Simple features + topological rules Connectivity Adjacency Shared nodes / edges Topology uses Data validation Spatial analysis (e.g. network tracing, polygon adjacency)
Polygon Topology Model
Polygon Topology Contiguity
Geo-relational Model
Triangular Irregular Network
Example Water Facilities Data Model Start with objects and relationships Model as object types and relationships Topological network Hierarchical ‘type of’ Collection ‘composed of’ Add related attribute tables
House Pump House Pump Meter Valve Hydrant Fitting Main Street Lateral Water Facility Data Types
Pump Meter Valve Hydrant Fitting Main Lateral Topological Network Model
Object FeatureEquipmentOperationsRecord PolygonLineNode Building Pump HouseHouse StreetWaterLine MainLateral WaterFacility ValveFittingHydrantMeterPump Network Composed Type Relationship Network Landbase Water Facility Object Model
Visio CASE Tool (UML Representation)
Common Mistakes Design in abstract without reference to GIS software core data model Don’t budget right amount of time Too much, too little Try to be too wide ranging and generic instead of specific and practical Design for elegance instead of performance
Conclusions Data modeling is an art and a science Can’t really understand it without practical experience Mature tools available to help CASE, UML Never forget its GIS data modeling