Below are the pairs of latitude and longitude.
Pair 1:
- Latitude : 55.95325200
- Longitude: -3.18826700
Pair 2:
- Latitude : -7.09091100
- Longitude: 107.66888700
Pair 3:
- Latitude : 40.71278400
- Longitude: -74.00594100
Pair 4:
- Latitude : 52.93991600
- Longitude: -73.54913600
Now am using geoplugin to get country code, like below.
For pair 1:
http://www.geoplugin.net/extras/postalcode.gp?lat=55.95325200&long=-3.18826700
For pair 2:http://www.geoplugin.net/extras/postalcode.gp?lat=-7.09091100&long=107.66888700
For pair 3:http://www.geoplugin.net/extras/postalcode.gp?lat=40.71278400&long=-74.00594100
For pair 4:http://www.geoplugin.net/extras/postalcode.gp?lat=52.93991600&long=-73.54913600
For pair 2 and pair 4 it returns empty array like below.
a:1:{i:0;a:0:{}}
So can someone tell me, how to get country code for pair 1 and pair 2.
Note: All latitude and longitude mentioned above are valid, and cross checked in google maps.