GeoDB Cities

免费增值
Verified
通过 Michael Mogley | 已更新 2ヶ月前 | Data
人气

9.9 / 10

延迟

77ms

服务等级

100%

Health Check

100%

返回所有讨论

Remove city districts from response

Rapid account: Kaldehjerte
kaldehjerte
1ヶ月前

Hi, I need to get a list of cities and other settlements without Its districts and other areas. I tried to use types=CITY parameter but got a toponymics like “Liangshan Yi Autonomous Prefecture” (Q666884) or “IV District” (Q2343820). The minPopulation parameter doesn’t seem to work either, or I don’t understood how to use one. Is there any way to got cities, towns and other settlements only without districts, areas and regions?

Rapid account: Wirefreethought
wirefreethought Commented 19日前

Sorry for the late reply. RapidAPI did not send me a new-thread notification.

Currently there is no smaller population unit below CITY. So you will have to rely on the minPopulation param to filter the results as you describe. minPopulation should work to exclude places with populations below the specified min. This would be the only way to exclude smaller populated areas such as the ones you list. What’s the specific request you’re trying to make?

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论