GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Geonames Search API Result does not contain all alternate names  XML
Forum Index -> General
Author Message

Joined: 10/08/2020 12:49:27
Messages: 1

The entity 5124497 ("Lindenhurst") has an alternate name "Breslau":

However, when using the search API the alternate name "Breslau" is not included:

Even though the alternate name "Breslau" is not included, the entity is included in the results for `name=Breslau`:

Other examples for this API behavior are:

-, alternate name: "Post Danzig"
-, alternate name: "Danzig"
-, alternate name: "Gulf of Danzig"

It seems that if the lang attribute of an alternate name is missing, the alternate name is never included in the API result (although the entity can be found via an API search for the alternate name).

Is this a bug in the API or is this behavior intended? (How) is it possible to get all the alternate names?
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team