GeoDB Cities

FREEMIUM
Verified
Durch Michael Mogley | Aktualisiert לפני חודשיים | Data
Popularität

9.9 / 10

Latenz

77ms

Service Level

100%

Health Check

100%

Zurück zu allen Diskussionen

Remove city districts from response

Rapid account: Kaldehjerte
kaldehjerte
לפני חודש

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 לפני 21 ימים

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?

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen