Hello,
My task is to combine census tracts for analysis. Starting with the tract with less than n number of households that is closest to n, where n is some arbitrary number, tracts should be combined with the tract with the nearest centroid, and keep being combined until n or greater is reached. Then proceed with the next uncombined tract less than n, and so on. Number of households is a field in the data.
What I've done so far is create centroids for all tracts. I can run the Near tool or the Generate Near Table tool to get each tract's nearest centroid, but apart from going through tracts manually (2800 of them) is not something I want to do.
I'm pretty sure this will require a Python script (could be wrong!), which is fine, can do that, but hitting a block on figuring out how the workflow should go. Any suggestions? Thanks.