GeoDB Cities

FREEMIUM
Verified
От Michael Mogley | Обновлено il y a 22 jours | Data
Популярность

9.9 / 10

Задержка

54ms

Уровень обслуживания

100%

Health Check

100%

Назад ко всем обсуждениям

Paris is not in the database

Rapid account: Antoniojcanovas 94
antoniojcanovas94
il y a 5 ans

When request data for cities with more than 300k inhabitants in France, Paris doens’t appear.

Rapid account: Wirefreethought
wirefreethought Commented il y a 5 ans

Hi Antonio. The data has been updated. Paris is now classified as type=CITY. By the way, if you want both cities and counties (ADM2), just omit the ‘types’ param.

Rapid account: Antoniojcanovas 94
antoniojcanovas94 Commented il y a 5 ans

Thanks for the quick reply. I could not find Paris as a city, on the request I was searching only cities and it didn’t show up at all even restricting countries to only France.
I would be very glad for this update 😃

Rapid account: Wirefreethought
wirefreethought Commented il y a 5 ans

Hi Antonio. I’ve updated the import process to reclassify ADM2 places as cities if at least one duplicate exists which is a city. This fix is being tested and will be deployed in the next one or two days. Check back here for updates.

Rapid account: Wirefreethought
wirefreethought Commented il y a 5 ans

What’s happening is there are apparently two separate Geoname entries for Paris, the city and the administrative division. In the case of two entries with the same exact name and in the same region, the import process currently selects the one with the greater population. This happens to be the ADM2 version in this case. I can update the import to always prefer the CITY in such cases, and only then consider population. Will post back here once that’s done, Give me a few days (but may be sooner).

Rapid account: Antoniojcanovas 94
antoniojcanovas94 Commented il y a 5 ans

Hi,
Sorry, I saw later, Paris is displayed, but as ADM2, why it is this type and not a city?

Thanks,
Antonio J.

Rapid account: Wirefreethought
wirefreethought Commented il y a 5 ans

Also GET /v1/geo/cities/Q90

Rapid account: Wirefreethought
wirefreethought Commented il y a 5 ans

It shows up as type=ADM2. What does your op look like?

Rapid account: Wirefreethought
wirefreethought Commented il y a 5 ans

I am able to get back Paris for this op: GET /v1/geo/cities?countryIds=FR&namePrefix=par&minPopulation=300000

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии