code: def lookupGeoInfo(positions):
      
      list_data=[]
      oldlat=0
      oldlon=0
      d={}
      for pos in positions:
          # Only lookup point if it is above threshold
          diff_lat=abs(float(pos['lat'])-oldlat)
          diff_lon=abs(float(pos['lon'])-oldlon)
          if (diff_lat>POS_THRESHOLD_DEG) or\
             (diff_lon>POS_THRESHOLD_DEG):
              d=lookup_by_latlon(pos['lat'],pos['lon'])
              oldlat=float(pos['lat'])
              oldlon=float(pos['lon'])
          else:
              logger.debug("Skipping %s/%s, close to prev"%(pos['lat'],pos['lon']))
  
          # Use fresh lookup value or old value
          list_data.append(d)
  
      logger.info('looked up %d positions'%(len(list_data)))
      return list_data
docs: Looks up lat/lon info with goole given a list
      of positions as parsed by parsePositionFile.
      Returns google results in form of dicionary