GeoDB Cities

פרמיום
Verified
על ידי Michael Mogley | מְעוּדכָּן לפני חודשיים | Data
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

77ms

רמת שירות

100%

Health Check

100%

חזרה לכל הדיונים

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 לפני 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?

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות