GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Place Hierarchy diacritics  XML
Forum Index -> General
Author Message
petrik77



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

Hi everyone.

I am working on Android weather app, that uses geonames autocomplete and geonames place hierarchy services for retrieving city names to create Yr.no link - https://www.yr.no/place/country/region/city/ .


Recently I have came up with problem i cant solve. Hierarchy service ( http://api.geonames.org/hierarchy?geonameId=3060589&username=demo )
returns region withou dicritics, so in final result I can create link like this:

https://www.yr.no/place/Slovakia/Banska_Bystrica/Detva/

but i need region with diacritics (Banská_Bystrica, not Banska_Bystrica):

https://www.yr.no/place/Slovakia/Banská_Bystrica/Detva/


I have tried to fill argument "lang" with "local" option, but it only changes language of country to local (Slovenská republika instread of Slovakia).

How can I get region name with diacritics ?

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