A dissimilarity function for geospatial polygons