Manipulating Spatial Data in Constraint Databases