Realms: A Foundation for Spatial Data Types in Database Systems

Ralf Hartmut Güting, Markus Schneider

gueting@fernuni-hagen.de, schneide@fernuni-hagen.de

Praktische Informatik IV, FernUniversität Hagen, Postfach 940, D-5800 Hagen, Germany

Abstract: Spatial data types or algebras for database systems should (i) be fully general (which means, closed under set operations, hence e.g. a region value can be a set of polygons with holes), (ii) have formally defined semantics, (iii) be defined in terms of finite representations available in computers, (iv) offer facilities to enforce geometric consistency of related spatial objects, and (v) be independent of a particular DBMS data model, but cooperate with any. We offer such a definition in two papers. The central idea, introduced in this (first) paper, is to use realms as geometric domains underlying spatial data types. A realm as a general database concept is a finite, dynamic, user-defined structure underlying one or more system data types. A geometric realm defined here is a planar graph over a finite resolution grid. Problems of numerical robustness and topological correctness are solved below and within the realm layer so that spatial algebras defined above a realm enjoy very nice algebraic properties. Realms also interact with a DBMS to enforce geometric consistency on object creation or update.

Keywords: Spatial data types, algebra, realm, finite resolution, numerical robustness, topological correctness, geometric consistency.

Published: Proc. of the 3rd Intl. Symposium on Large Spatial Databases (Singapore, June 1993), 14-35.