Logotip de l'OpenStreetMap OpenStreetMap

Please add population numbers to places

Publicat per ff5722 el 11 Octubre 2016 en English.

Population numbers turn out to be pretty important for rendering places at the correct zoom level. Since ‘town’ or ‘city’ is the highest possible qualification for any large urban centre (whether a sleepy 100 000 population suburb or a 10 million population metropolis) there may be many of these places very near each other. On lower zoom level, the renderer has to make a choice on which cities to show. Without any population numbers, no decision can be made, thus no names are rendered.

The default Carto layer does take population into account, and it can be seen that it is a major factor in deciding which place is shown at lower zoom levels.

In green are cities I’ve recently added population number to (number is brackets is the urban population). These are all rendered as long as the labels fit nicely without overlapping. It is not strange that the desert town of Hami is labeled at this zoom level. It should be, because it is a major stop along this transport corridor.

However, Hangzhou and Xuzhou are not labeled in this case. For Hangzhou it can be argued that the label would overlap with Shanghai, but for Xuzhou this argument cannot hold.

Between 兰州 (Lanzhou) and 天水 (Tianshui) lies 定西 (Dingxi). As you can see here I’ve also added this city’s population number. And although the label would fit, it is not rendered. I have not looked into the code of the Carto renderer, but my guess would be that either it’s population of under 500 000 would not make it important enough, or that the other cities are too close by (Hami is a lot more isolated). For completeness, Lanzhou and Tianshui have a population of a few million.

Also good to note, if you zoom in to level 6, you get a little dizzy from all the city names. Apparently here the renderer shows anything that is a town, and because almost all lack population numbers, all are shown.

It seems that in India for example, most cities do have a population number included, so if you zoom through the levels there, the map looks much more usable.

Ubicació: Bao’an, Shangluo, Shaanxi, China
Icona de correu electrònic Icona de Bluesky Facebook Icon Icona de LinkedIn Icona de Mastodon Icona de Telegram Icona de X

Discussió

Comentari de hanchao el 12 Octubre 2016 a les 04.43

我可以一起来给城市添加人口信息。 目前中国区域的地名标注比较混乱,下面是我理解的。 首都(国家行政中心) place=city capital=yes 省会城市(省级行政中心) place=city ?(city不能准确表达省级行政中心,和地级市不好区分) 地级市 place=city 县 place=city or place=county ?(这个我一只能疑惑,county并不会显示,city和地级市也不好区分) 镇 place=town 乡 place=town 村 place=village

Comentari de hanchao el 12 Octubre 2016 a les 04.46

  • 首都(国家行政中心)place=city capital=yes
  • 省会城市(省级行政中心) place=city ?(city不能准确表达省级行政中心,和地级市不好区分)
  • 地级市 place=city
  • 县 place=city or place=county ?(这个我一只能疑惑,county并不会显示,city和地级市也不好区分)
  • 镇 place=town
  • 乡 place=town
  • 村 place=village

Comentari de hanchao el 12 Octubre 2016 a les 04.58

  • 区 place=suburb or place=city(suburb需要放大到很大才会显示,像北京市昌平区为了更早显示标记成city)

Comentari de ff5722 el 12 Octubre 2016 a les 06.14

我看到也有“china_class”。可是这个文章关于city(应该是prefecture level?)。已经是很难。。。

还有一个问题:区点应该放到区的地理中心,或者在区人口中心?

Comentari de hanchao el 12 Octubre 2016 a les 09.59

我感觉放在人口中心更合适。 你是在那里获取到population数据的。我也来补充

Comentari de ff5722 el 12 Octubre 2016 a les 10.06

嗯,我刚才加的一些城市的人口(徐州,杭州,青岛),一个星期后来应该是可见。

Comentari de kocio el 18 Octubre 2016 a les 01.33

Hangzhou and Xuzhou are now visible, I guess - there were just some problems with the proper code, which were fixed in v2.44.1.

I think adding population numbers would be an overkill for a general map.

Comentari de ethylisocyanat el 7 Abril 2017 a les 17.23

No one at Wikidata is systematically working on population numbers. It wouldn’t much better for Chinese cities.

Inicia sessió per a fer un comentari