Text this: A generic similarity test for spatial data