Let's suppose a fictional world, with ancient / medieval technology and culture. This world has several countries and empires, each with its own capital. Some are purely coastal, some are landlocked. There is a wide range of terrains, from plains, to desert, and mountains.
I understand that capitals are chosen among all the cities of a given country based on the traditional importance of that city on the national history, as well as its economic, religious or political relevance.
However, my question is this: Suppose that all the cities on a given country have the same traditional, economic, religious or political relevance... how would you define what city would be the capital (or alternatively, where you would build a capital from scratch) based on geographical localization?
Note: I accept that geographical factors may act indirectly, by increasing the city's military and economical proeminence over other cities as time goes by... but the geography should be the ultimate first cause for the capital chosing.