1. A method for comparing a first location and a second location, comprising, generating a first binary representation from geographic information based on the first location, generating a second binary representation from geographic information based on the second location, performing a bitwise comparison between the first binary representation and the second binary representation and, associating the bits of the bitwise comparison to derive a distance measure.