Temporal variations for monitoring traffic in urban areas