How is the ranking field in the World Cities Database determined?

The ranking is an estimate of importance based on population (when available), density, capital status and other internal measures of importance. It is imperfect, but is our best guess based on the available data.