This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Why does only one of the “Antelope Buttes” show up in Nominatim?

2

There are two peaks (one, two) called Antelope Buttes near each other, and added in the same changeset.

Why does only one show up in Nominatim? It seems like a possible bug.

asked 27 Nov '14, 18:23

mattflaschen's gravatar image

mattflaschen
2266818
accept rate: 0%

Are these two peaks really named exactly equally in reality?

(28 Nov '14, 13:09) aseerel4c26 ♦

@aseerel4c26 I don't know (I didn't add them).

(30 Nov '14, 00:36) mattflaschen

One Answer:

1

I think that this is caused by "During the indexing process an address is also calculated using the first feature found for each level. Where an is_in value is provided it is used to filter the address." This text is taken from the Nominatim Development page.

Since a peak is considered a place (see http://nominatim.openstreetmap.org/details.php?place_id=3281978), it only takes the first feature with that name.

Disclaimer: I'm not a Nominatim developer, so I just made this conclusion from reading the documentation

answered 28 Nov '14, 10:38

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

I think this means the first feature of each level found in the hierarchy (see the part with "using the following algorithm" at that page for how this hierarchy is calculated), rather than the first of the changeset, but I'm not sure.

(30 Nov '14, 00:39) mattflaschen

Source code available on GitHub .