Short communication: Using UML and OCL to maintain the consistency of spatial data in environmental information systems

  • Authors:
  • François Pinet;Magali Duboisset;Vincent Soulignac

  • Affiliations:
  • Cemagref, Clermont Ferrand, 24 avenue des Landais, 63172 Aubière Cedex, France;Cemagref, Clermont Ferrand, 24 avenue des Landais, 63172 Aubière Cedex, France;Cemagref, Clermont Ferrand, 24 avenue des Landais, 63172 Aubière Cedex, France

  • Venue:
  • Environmental Modelling & Software
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Object Constraint Language (OCL) is a subset of the well-known Unified Modeling Language (UML) that allows specifying constraints over entities representing concepts from the application domain. The purpose of this paper is to describe a specific extension of OCL to model spatial constraints of Environmental Information Systems (EIS). These new features are applied to the agricultural spreading of organic matter. In this context, it is important to model a set of spatial constraints that define precisely where spreading can take place. For example, organic matters can never be spread inside certain natural areas. At present, some tools allow producing integrity checking mechanisms in different languages (Java, C#, SQL, etc.) from specifications of non-spatial constraints expressed in OCL. For instance, the SQL code generated by OCL2SQL can be used to check if a database verifies constraints or to forbid inserting data that do not verify them. In order to check spatial constraints in EIS, we implemented the ''Spatial OCL'' proposed in this paper into an extension of OCL2SQL.