OpenStreetMap логотибы OpenStreetMap

Please add population numbers to places

English телендә ff572211 October 2016 баҫылып сыҡты.

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.

Урын Bao’an, Shangluo, Shaanxi, China
Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Фекер алышыу

hanchaoтарафынан12 October 2016 cәғәт 04:43көндө ҡаралған

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

hanchaoтарафынан12 October 2016 cәғәт 04:46көндө ҡаралған

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

hanchaoтарафынан12 October 2016 cәғәт 04:58көндө ҡаралған

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

ff5722тарафынан12 October 2016 cәғәт 06:14көндө ҡаралған

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

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

hanchaoтарафынан12 October 2016 cәғәт 09:59көндө ҡаралған

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

ff5722тарафынан12 October 2016 cәғәт 10:06көндө ҡаралған

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

kocioтарафынан18 October 2016 cәғәт 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.

ethylisocyanatтарафынан 7 April 2017 cәғәт 17:23көндө ҡаралған

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

Фекер яҙыу өсөн Инеү