I'm looking for a way to determine typical numbers of services that would be available for a medieval city/town/village based on population which I can then project into a fantasy setting. (System is pathfinder, but this is effectively system agnostic)
Previously I have used Rolemaster Companion I (Section 8.0 City Design p.76) which gives a general idea of the sort of population present (soldiers, underworld, theatres, scholars, churches, etc) but this although helpful it is a little basic.
So; is there a resource somewhere that I can use to determine what sort of shops/services/etc might be present in either a typical fantasy or medieval town of population size X?
Bonus points for modifications for cities with ports, trade links, etc.
Ideally this would be a web-resource of some kind; I've had a good google around but I've not found anything suitable yet.