Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5124 closed defect (fixed)

Nominatim cannot find the langley boundaries

Reported by: daniel@… Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version:
Keywords: Cc:


Langley has two boundaries to it:

However when searching for Langley neither boundary can be found (while searching for neighbouring cities like Surrey will find their boundaries):

Is there a way this can be fixed.

Change History (5)

comment:1 Changed 5 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

Both relations were missing, I've forced an update now and they should be ok. Most likely a case of broken boundaries that got fixed without touching the boundary relations themselves. Nominatim doesn't catch those.

Note that it still has some trouble finding both relations because the relations only contain the full name 'township of Langely' and 'city of Langley'.

comment:2 Changed 5 years ago by daniel@…

Aye, I see that other boundaries like "City of Surrey" also contain a name=Surrey. Does the fact that there are two "Langley" boundaries prevent the two Langley boundaries from having a name=Langley or short_name=Langley?

comment:3 Changed 5 years ago by Sarah Hoffmann

Not at all, you'll simply get both in the result list. I recommend adding wikipedia tags as well, so that they appear in sensitive order.

For the city of Langley you should also add the existing place node ( with member role 'label' to the boundary relation. That will resolve the name issue and avoid duplicate results.

comment:4 Changed 5 years ago by daniel@…

Thanks for the information, I had never even strongly noticed the Edit button, so I'm new at OSM.

I added an alt_name=Langley to both, since it didn't seem correct to use name=Langley as both moving "City/Township of" to offical_name as this appears as if it would make the common name both are described by the same, and short_name appears to be meant for real abbreviations. Was this correct?

I don't know much about the label relation though. Other city boundaries like Vancouver and Surrey don't appear to have it, so I don't have much reference to go on.

comment:5 Changed 5 years ago by Sarah Hoffmann

name should generally contain what is used 'on the ground'. Though, what that exactly means may be interpreted different from region to region. Definitions are even less clear for the alternative name tags. I recommend that you ask your local community (probably the talk-ca mailinglist in your case) about the best use of the tags so that they are consistent within the region. They can also help with the finer details of relation mapping.

Note: See TracTickets for help on using tickets.