GeoDB Cities

FREEMIUM
Verified
By Michael Mogley | Updated 5 days ago | Data
Popularity

9.9 / 10

Latency

88ms

Service Level

100%

Health Check

100%

Back to All Discussions

Data for Malaysia country mostly not accurate

Rapid account: Baituljannah
baituljannah
2 years ago

Hi,
I want to inform that most of the cities in Malaysia not accurate. For example, if you fetch region “Selangor” (isoCode=10), one of the result you’ll get:

{
“id”: 3227636,
“wikiDataId”: “Q49108532”,
“type”: “ADM2”,
“city”: “Sandakan”,
“name”: “Sandakan”,
“latitude”: 5.75,
“longitude”: 118.0,
“population”: 0
}

“Sandakan” is located at “Sabah” but how does it appear under region “Selangor”?

There are lots of misplaced data I found in this API. So, is it really accurate for other countries?

Thank you.

Rapid account: Wirefreethought
wirefreethought Commented 2 years ago

The code was trying to map both the place ISO and FIPS code to the region ISO code, which clearly doesn’t make any sense. The fix was to only map apples to apples (ISO code to ISO code).

Rapid account: Baituljannah
baituljannah Commented 2 years ago

I have checked randomly and the data seems fine to me. The problem that I stated before also has fixed. May I know why this happens?
If anything comes out wrong, I will let you know.

Thank you very much for your support.

Rapid account: Wirefreethought
wirefreethought Commented 2 years ago

This is now fixed. The fix should correct many other cases as well. Thanks for reporting.

Rapid account: Baituljannah
baituljannah Commented 2 years ago

Looking forward for this issue to be fixed. I randomly tried country like Indonesia and it appears some of the cities are not in the correct division.
For time being, I’m using this GeoDB Cities data for Malaysia, Brunei, Singapore and Indonesia. I really hope that these data as accurate as possible.

Really appreciate your time to look into this matter. Thanks.

Rapid account: Wirefreethought
wirefreethought Commented 2 years ago

Yes there does appear to be an issue with region mappings in this case. I will have a look in the coming days and let you know when the fix has been deployed.

Join in the discussion - add comment below:

Login / Signup to post new comments