GeoDB Cities

FREEMIUM
Verified
Door Michael Mogley | Bijgewerkt לפני חודשיים | Data
Populariteit

9.9 / 10

Latency

67ms

Serviceniveau

100%

Health Check

100%

Terug naar alle discussies

Remove city districts from response

Rapid account: Kaldehjerte
kaldehjerte
לפני 18 ימים

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

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?

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen