When editing the map you get the option to "Add towns", this will add each and every towns "TownID" which contains the info of the towns name aswell as its temple position.
In the database there is a column named "town_id", that number in there represents the temple position of the character, and if you input the "townid" there of a town youve added to the map, the character will spawn at the coordinates specified when adding the town.
Or to put it simply... when editing the map you get the option to add towns and respective towns "temple position", find out the ID of the town you wish the character to spawn at, and add it to the "town_id" column in the database. Done.