Is 3 km longer than 2900 m?

Yes, 3 km is longer than 2900 m.

2900 m = 2.9 km