GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Assignment of UNLC alternate name for Berlin, Germany  XML
Forum Index -> Discussion of GeoNames Toponyms
Author Message
cliffm1118



Joined: 17/08/2013 01:10:53
Messages: 1
Offline

First off, thanks to whoever added the UN Loc Code data. I am seeing what I consider to be a bug with the following query but couldn't find a way to submit it as a bug:

http://api.geonames.org/search?name_equals=ber&country=de&type=json&username=<user_name>&style=full

The query results in 3 results: 1 for Berlin, 1 for Berlin Mitte, and 1 for the Berlin Airport. The UNLC data for city code == BER is assigned to the second (and less data rich).

Results as JSON

{
"totalResultsCount":3,
"geonames":[
{
"adminCode3":"11000",
"alternateNames":[
{
"name":"Berlyn",
"lang":"af"
},
{
"name":"Berlin",
"lang":"als"
},
{
"name":"Berlín",
"lang":"an"
},
{
"name":"Berlin",
"lang":"ang"
},
{
"name":"برلين",
"lang":"ar"
},
{
"name":"ܒܪܠܝܢ",
"lang":"arc"
},
{
"name":"Berlín",
"lang":"ast"
},
{
"name":"Berlin",
"lang":"bar"
},
{
"name":"Берлін",
"lang":"be"
},
{
"name":"Берлин",
"lang":"bg"
},
{
"name":"বার্লিন",
"lang":"bn"
},
{
"name":"Berlin",
"lang":"br"
},
{
"name":"Berlin",
"lang":"bs"
},
{
"name":"Estat de Berlín",
"lang":"ca"
},
{
"name":"Berlín",
"lang":"cs"
},
{
"name":"Berlëno",
"lang":"csb"
},
{
"name":"Берлин",
"lang":"cv"
},
{
"name":"Berlin",
"lang":"cy"
},
{
"name":"Berlin",
"lang":"da"
},
{
"name":"Berlin",
"lang":"de"
},
{
"name":"Βερολίνο",
"lang":"el"
},
{
"name":"Berlin",
"lang":"en"
},
{
"name":"Berlino",
"lang":"eo"
},
{
"name":"Berlín",
"lang":"es"
},
{
"name":"Berliin",
"lang":"et"
},
{
"name":"Berlin",
"lang":"eu"
},
{
"name":"برلین",
"lang":"fa"
},
{
"name":"Berliini",
"lang":"fi"
},
{
"name":"Berlin",
"lang":"fo"
},
{
"name":"Berlin",
"lang":"fr"
},
{
"name":"Beirlín",
"lang":"ga"
},
{
"name":"Berlin",
"lang":"gd"
},
{
"name":"Berlín",
"lang":"gl"
},
{
"name":"Berlin",
"lang":"hbs"
},
{
"name":"ברלין",
"lang":"he"
},
{
"name":"Berlin",
"lang":"hr"
},
{
"name":"Berlin",
"lang":"hu"
},
{
"name":"Բերլին",
"lang":"hy"
},
{
"name":"Berlin",
"lang":"ia"
},
{
"name":"BER",
"lang":"iata"
},
{
"name":"Berlin",
"lang":"id"
},
{
"name":"Berlin",
"lang":"io"
},
{
"name":"Berlín",
"lang":"is"
},
{
"name":"Berlino",
"lang":"it"
},
{
"name":"ベルリン",
"lang":"ja"
},
{
"name":"Berlin",
"lang":"jv"
},
{
"name":"ბერლინი",
"lang":"ka"
},
{
"name":"베를린",
"lang":"ko"
},
{
"name":"Berlîn",
"lang":"ku"
},
{
"name":"Berlin",
"lang":"kw"
},
{
"name":"Berolinum",
"lang":"la"
},
{
"name":"Berlin",
"lang":"lb"
},
{
"name":"Berlien",
"lang":"li"
},
{
"name":"http://en.wikipedia.org/wiki/Berlin",
"lang":"link"
},
{
"name":"Berlynas",
"lang":"lt"
},
{
"name":"Berlīne",
"lang":"lv"
},
{
"name":"Берлин",
"lang":"mk"
},
{
"name":"बर्लिन",
"lang":"mr"
},
{
"name":"Berlin",
"lang":"ms"
},
{
"name":"Berlin",
"lang":"nds"
},
{
"name":"Berlijn",
"lang":"nl"
},
{
"name":"Berlin",
"lang":"nn"
},
{
"name":"Berlin",
"lang":"no"
},
{
"name":"Bèrlîn",
"lang":"nrm"
},
{
"name":"Berlin",
"lang":"oc"
},
{
"name":"Berlin",
"lang":"pdc"
},
{
"name":"Berlin",
"lang":"pl"
},
{
"name":"Berlin",
"lang":"pms"
},
{
"name":"Berlim",
"lang":"pt"
},
{
"name":"Berlin",
"lang":"qu"
},
{
"name":"Berlin",
"lang":"rm"
},
{
"name":"Berlin",
"lang":"ro"
},
{
"name":"Берлин",
"lang":"ru"
},
{
"name":"Birlinu",
"lang":"scn"
},
{
"name":"Berlín",
"lang":"sk"
},
{
"name":"Berlin",
"lang":"sl"
},
{
"name":"Berlini",
"lang":"sq"
},
{
"name":"Берлин",
"lang":"sr"
},
{
"name":"Berlin",
"lang":"sv"
},
{
"name":"Berlin",
"lang":"sw"
},
{
"name":"பெர்லின்",
"lang":"ta"
},
{
"name":"เบอร์ลิน",
"lang":"th"
},
{
"name":"Berlin",
"lang":"tr"
},
{
"name":"Berlin",
"lang":"ty"
},
{
"name":"بېرلىن",
"lang":"ug"
},
{
"name":"Берлін",
"lang":"uk"
},
{
"name":"Berlin",
"lang":"vi"
},
{
"name":"Berlin",
"lang":"vo"
},
{
"name":"בערלין",
"lang":"yi"
},
{
"name":"柏林",
"lang":"zh"
}
],
"adminCode2":"00",
"countryName":"Germany",
"adminCode1":"16",
"score":116.58750915527344,
"lng":"13.41053",
"adminCode5":"01",
"adminCode4":"11000000",
"adminName2":"",
"fcodeName":"capital of a political entity",
"adminName3":"Berlin, Stadt",
"timezone":{
"dstOffset":2,
"gmtOffset":1,
"timeZoneId":"Europe/Berlin"
},
"adminName4":"Berlin",
"adminName5":"Bezirk Mitte",
"bbox":{
"south":52.284092945584554,
"east":13.807619826518279,
"north":52.764643384684014,
"west":13.013440354145784
},
"name":"Berlin",
"fcode":"PPLC",
"geonameId":2950159,
"lat":"52.52437",
"population":3426354,
"adminName1":"Berlin",
"adminId1":"2950157",
"countryId":"2921044",
"fclName":"city, village,...",
"elevation":74,
"countryCode":"DE",
"adminId5":"2870912",
"adminId4":"6547539",
"adminId3":"6547383",
"wikipediaURL":"",
"toponymName":"Berlin",
"fcl":"P",
"continentCode":"EU"
},
{
"adminCode3":"11000",
"alternateNames":[
{
"name":"Mitte",
"lang":"de"
},
{
"name":"http://en.wikipedia.org/wiki/Mitte_%28locality%29",
"lang":"link"
},
{
"name":"BER",
"lang":"unlc"
}
],
"adminCode2":"00",
"countryName":"Germany",
"adminCode1":"16",
"score":66.2242431640625,
"lng":"13.40489",
"adminCode5":"01",
"adminCode4":"11000000",
"adminName2":"",
"fcodeName":"section of populated place",
"adminName3":"Berlin, Stadt",
"timezone":{
"dstOffset":2,
"gmtOffset":1,
"timeZoneId":"Europe/Berlin"
},
"adminName4":"Berlin",
"adminName5":"Bezirk Mitte",
"bbox":{
"south":52.44559788300108,
"east":13.527424190914648,
"north":52.59446925934572,
"west":13.282349254214754
},
"name":"Berlin Mitte",
"fcode":"PPLX",
"geonameId":6545310,
"lat":"52.52003",
"population":329078,
"adminName1":"Berlin",
"adminId1":"2950157",
"countryId":"2921044",
"fclName":"city, village,...",
"countryCode":"DE",
"adminId5":"2870912",
"adminId4":"6547539",
"adminId3":"6547383",
"wikipediaURL":"",
"toponymName":"Berlin Mitte",
"fcl":"P",
"continentCode":"EU"
},
{
"alternateNames":[
{
"name":"Flughafen Berlin-Brandenburg Willy Brandt",
"lang":"de"
},
{
"name":"Berlin Brandenburg Airport",
"lang":"en"
},
{
"name":"BER",
"lang":"iata"
},
{
"name":"EDDB",
"lang":"icao"
},
{
"name":"http://en.wikipedia.org/wiki/Berlin_Brandenburg_Airport",
"lang":"link"
}
],
"countryName":"Germany",
"adminCode1":"11",
"score":44.32801055908203,
"lng":"13.50168",
"adminName2":"",
"fcodeName":"airport",
"adminName3":"",
"timezone":{
"dstOffset":2,
"gmtOffset":1,
"timeZoneId":"Europe/Berlin"
},
"adminName4":"",
"adminName5":"",
"name":"Berlin Brandenburg Airport",
"fcode":"AIRP",
"geonameId":8181624,
"lat":"52.36213",
"population":0,
"adminName1":"Brandenburg",
"countryId":"2921044",
"adminId1":"2945356",
"fclName":"spot, building, farm",
"countryCode":"DE",
"wikipediaURL":"",
"toponymName":"Berlin Brandenburg Airport",
"fcl":"S",
"continentCode":"EU"
}
]
}
marc



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

thanks. Will be fixed.

Marc

[WWW]
 
Forum Index -> Discussion of GeoNames Toponyms
Go to:   
Powered by JForum 2.1.5 © JForum Team