The document discusses a MapReduce algorithm developed to create contiguity weights for spatial analysis of large datasets. It outlines various methods for generating spatial weights, including counting algorithms for both rook and queen contiguity, and compares performances on different computing systems. The findings highlight potential issues of the algorithm, particularly concerning spatial neighbors without shared points or edges, and propose ongoing work to incorporate an r-tree structure to address these challenges.