GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Retrieving region name from Toponym  XML
Forum Index -> General
Author Message
petrik77



Joined: 04/11/2017 02:11:10
Messages: 2
Offline

Hi, I am working on app that use yr.no api, and therefore I need to build an URL like this : https://www.yr.no/place/Slovakia/Banská_Bystrica/Detva/ , or in other words https://www.yr.no/place/country/region/city/

But my problem is that i struggle to retrieve "region" name from Toponym, I can only find only name and countryName. How can i retrieve region name too ?
marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

The yr.no link is for http://www.geonames.org/3060589/detva.html

The admincode1 '01' is for
http://www.geonames.org/3343954/banska-bystrica.html

Best Regards

Marc

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