Somewhere on another thread I posted mine, but I got my LBB 3 book, Worlds out. I generally roll for the 3 primary planet characteristics first: Size, Atmosphere, and Hydrographics. For the last, do not forget to use 2D6-7+ATMOSPHERE, not planet size again. Based on those, I adjust die roll modifiers for Space Port, population, government, and Tech Level.
Vacuum, trace, very thin, and all tainted atmospheres add 3 to the Tech Level roll, and a minus 1 to the population roll. Taints always subtract 1 from the population roll. Exotic atmospheres subtract 2 from population and add 3 to Tech Level roll. Corrosive and Insidious Atmosphere add 4 to Tech Level Roll, which must be at least 9, and subtract 4 from population roll.
For Starports, I tend to look at the planet's habitability and population. A near-Terran planet with at least a 6 for population will have an A or B star port for the most part, unless you decide otherwise based on what you want. If a Balkanized government is rolled, and population is say 8 or larger, then an A or B main star port and as many C star ports as you have principal nations. Populations of 4 and 5 get a C-class port, but maybe get a D at times depending on the Tech Level, lower Tech Level gets a D. Taints and bad atmospheres lower the star port level as well.
Smaller population worlds on not really habitable planets, like vacuum to very thin with a taint, or more exotic atmosphere are likely to be company planets, going after a specific resource, colony planets for the same aim or as forced colonists to get rid of problems, or what I call founded by the Utopians, similar to the Utopian colonists that were founded in the US in the mid-1800s. Religious colonies would come under that, but I would not limit them to religious only.
Basically, I go with the nicer planets have larger populations, a wider government and law level range, and better star ports. Asteroids Belts are the wild card, but must have at least a 9 or higher Tech Level, population might cap out at 7, and multiple star ports. They could easily be Balkanized.