GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
findNearbyPlaceName not working in Oceans?  XML
Forum Index -> General
Author Message
designium



Joined: 01/10/2020 07:12:45
Messages: 1
Offline

using findNearbyPlaceName on the web api works perfectly for me if the lat/lng I enter is on land.
However when the lat/lng is in some ocean (even if it is just a few hundred km from land)

Is there any way to get the closest populated place when that lat/lng you are searching for is in an ocean?

For example
35.683956, 139.7425205
returns
Code:
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <geonames>
     <geoname>
         <toponymName>Hayabusacho</toponymName>
 etc etc etc
 


However
-35.6839561462402, -40.2574768066406
returns
Code:
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <geonames/>
 
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team