How did Ibn Baṭṭūṭah’s travels build knowledge of geography?

He developed an accurate world map.
He wrote a guide used by other travelers.
He advised rulers of countries on geography.
He invented the astrolabe to study geography.