Handling geometric objects with free form curves in spatial databases