A Model for Representing Topological Relationships Between Complex Geometric Features in Spatial Databases