Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

city.list.json incomplete or outdated?

Nathaniel Jun 09, 2019 08:23AM BST

Was looking to query the API by city name, but saw that this doesn't work well when the name is used for multiple places within the same country (perhaps in different states/provinces) - data for only one of the places is returned (not necessarily the more populous/prominant either)

The API doc seems to suggest using the city id to work around such issues, so I download city.list.json, and some of the places aren't even listed once, eg. "Mirrabooka"... so to use that as an example:

get data about the tiny suburb (population less than 800) of Lake Macquarie in NSW, but not Mirrabooka the Perth suburb (population greater than 8000, 10 times more than the NSW town/suburb)

city.list.json: no entry / city ID for either Mirrabooka

Go to,au (manual search of the website) and both Mirrabooka's are shown, with links that give city IDs for both.

I hence feel I should report that the city.list.json file seems incomplete/outdated relative to the site/API.

I am not looking for a solution/workaround/resolution at this stage (I can probably get away with ignoring the issue!) but I felt I should report this as it seems like it would effect others as well

Up 0 rated Down
Pavel Zuykov Jun 10, 2019 02:04PM BST OpenWeatherMap Agent


Thank you very much for report.

We trying to get our city list actual, and update it then possible. I will send your request to development team.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found