g geographic proximity and similarity