spatial data mining for finding nearest neighbor and outlier detection