Merges shapefiles based on xy-coordinates