GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Streetname Lookup Webservice ignores the adminCode2 parameter  XML
Forum Index -> General
Author Message
tequipo



Joined: 16/04/2024 15:57:55
Messages: 2
Offline

Hello, my name is David.
While trying to retrieve the streets of my city through the endpoint "Streetname Lookup Webservice" https://www.geonames.org/maps/addresses.html#address
I've noticed that the optional parameters adminCode2 and adminCode3 are completely ignored. You can verify what I'm saying by making these requests; you'll see that no matter what value is passed to those parameters, it always returns the same records.

(Both return the same, you can write what you want at adminCode2 parameter)
http://api.geonames.org/streetNameLookup?q=Calle&country=ES&adminCode2=J&username=demo
http://api.geonames.org/streetNameLookup?q=Calle&country=ES&adminCode2=C&username=demo

The same thing happens with the adminCode3 parameter.

Is this a bug or I'm doing something wrong?

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