Constraints are important elements of every modelling process but until now they have not received much attention in GIS. In GIS, constraints are conditions, which always have to be valid (true) within the model populated with real geographic object instances. In this paper we argue that constraints should be part of the object class definition, similar to other aspects of the object class definition: attributes, methods, and relationships (generalization/specialization, part/whole, and associations). This paper presents our view on modelling constraints, in which we distinguish three different stages: clarifying constraints applicable for the objects of interest, formally describing them using the unified modelling language/ object constraint language (UML/OCL) and implementing them in application tool or in the DBMS. In order to better understand the constraints and their use in GIS we propose a classification of the different types of constraints. The paper demonstrates the way UML (OCL) is used for modelling constraints in SALIX-2, a VR landscape modelling system. Depending on the type of constraints (and the application), some of them can be best implemented at (edit/simulation) front-end, others at DBMS (or perhaps throughout all subsystems), but this should all be derived from the same specification: the model including the formal constraints. This paper focuses on the implementation of the constraints using triggers (as assertions are not yet available) within the DBMS and the problems that have to be solved.
[1]
Dimitris Papadias,et al.
Spatial Relations, Minimum Bounding Rectangles, and Spatial Data Structures
,
1997,
Int. J. Geogr. Inf. Sci..
[2]
Elisa Bertino,et al.
Modeling Spatio-Temporal Constraints for Multimedia Objects
,
1999,
Data Knowl. Eng..
[3]
Eliseo Clementini,et al.
A Small Set of Formal Topological Relationships Suitable for End-User Interaction
,
1993,
SSD.
[4]
Arend Ligtenberg,et al.
Virtual Reality in the landscape design process.
,
2002
.
[5]
Max J. Egenhofer,et al.
A Formal Definition of Binary Topological Relationships
,
1989,
FODO.
[6]
M. Heim.
Virtual Realism
,
1998
.
[7]
J. D. Bulens,et al.
Geo VR construction and use: the seven factors
,
2002
.