GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Inconsistency between API result and free gazeteer and direct query in Geoname  XML
Forum Index -> General
Author Message
saxrub



Joined: 12/05/2019 09:35:56
Messages: 6
Offline

Hi all

I am currently working on Norwegian data.

Thus, for the coordinates 60.35856981079212 9.377244312263493, we obtain the following adminCodes with
https://secure.geonames.net/findNearbyJSON?lat=60.35856981079212&lng=9.377244312263493&style=FULL&radius=500&
maxRows=1&username=myUser

AdminCode1=30 and AdminCode2=3039.

If we search for these coordinates directly in geonames, we obtain the following adminCodes: AdminCode1=04 and AdmonCode2=3320 giving the municipality of Flå

Now, if i search "Flå" into the NO.txt donwload from free gazeteer, we get 04/3320/Flå which is consistent with searching by coordinates via the geonames web interface

Do you have an explanation why findNearbyJSON give a different result ?

Pascal
municipality

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