Line crossing analytics