Yes, from the federal government to the provinces it's population based, with exceptions for the smallest: the three territories and P.E.I., which get a fixed amount of 0.75% of the total amount.
But how they transfer to municipalities varies a lot, actually by jurisdiction. Some provinces do have a minimum floor that each municipality will get; some provinces do not. There's actually quite a bit of range as to how the funds are flowed from within each jurisdiction. We could spend a lot of time going through it blow by blow. It's pretty much different I think for almost each jurisdiction, slight nuances, but primarily, as Jeff said, it's on a population basis.