Local data gathering using opportunistic networking in a urban scenario