Antonello
Joined: 08/02/2021 10:53:12
Messages: 1
Offline
|
Hi everyone,
I'm currently using the "findNearbyPostaCodes" query to find the "adminName2", now I need the "adminName3" too, that in my case correspond to the municipality name.
doing: http://api.geonames.org/findNearbyPostalCodes?lat=45.165636&lng=10.840284&maxRows=1&username=USER
you will notice that "adminName3" is missing.
But, I know the data exists because I can find it doing a sequence of requests.
1. Using "findNearbyPlaceName" I get the "geonamesId"
2. Using the "geonamesId" I got the "adminName3" through the "get" request
I don't think that is the best way to do it, so I'm sure that I'm ignoring something.
P.s. my input datas are latitude and longitude.
|