How do I calculate the distance so that object from Seattle are most similar to those from Seattle, and those from King County are most similar to those from King County, and those from Washington are most similar to those from Washington, but those from Seattle are more similar to those from King County than those from Washington.
In other words, Seattle is part of King County, which is part of Washington. How do I reflect that in distance calculations? How do you deal with geographic locations in calculating similarity?
[link][comment]