GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
No country code found in mainland Nigeria?  XML
Forum Index -> General
Author Message

Joined: 15/02/2020 22:32:22
Messages: 1

Hi everyone,

It seems there is an issue with countryCodeJSON API in Nigeria.
When I run:

I get Code:
"status": {
 "message": "no country code found",
 "value": 15

However, these coordinates correspond to Nigeria mainland:
6°30'40.4"N 2°43'05.7"E
Jatu Road, Idiroko, Nigeria

Any leads on what the cause might be?


Joined: 08/12/2005 07:39:47
Messages: 4240


It is in the border area and the boundary at this location seems to not be fully accurate.
You can use a radius parameter to overcome this kind of issue and get the next country:

I will check for more accurate boundaries for Nigeria.


Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team