The position of a dairy platform (1) is monitored using a compass (7). From thisposition and a known relationship between platform position and stall position,the position of a stall (2, 3, 4) can be determined. Cows (5) are identified usingsignals from RFID tags attached to the cows. These signals are monitored duringa time period and the time distribution of ID reads is used to identify the timewhen a cow is closest to the reader (6) and to associate that cow with a particularstall in the dairy platform (1).