GeoDB Cities

FREEMIUM
Verified
Por Michael Mogley | Atualizado hace 2 meses | Data
Popularidade

9.9 / 10

Latência

67ms

Nível de serviço

100%

Health Check

100%

Voltar para todas as discussões

Remove city districts from response

Rapid account: Kaldehjerte
kaldehjerte
hace 18 días

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 hace 6 días

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?

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários