Skip to content
This repository has been archived by the owner. It is now read-only.

Searching with a postcode returns no results. #4867

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Searching with a postcode returns no results. #4867

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

@openstreetmap-trac openstreetmap-trac commented Jul 23, 2021

Reporter: stevie_
[Submitted to the original trac issue database at 5.21pm, Monday, 27th May 2013]

For example, querying the following Northern Irish address returns a single accurate result: "220 Ravenhill Avenue, Belfast".

However, if I append the correct postcode to the query (either the full postcode or the first segment), no results are returned: "220 Ravenhill Avenue, Belfast, BT6 8LL" or "220 Ravenhill Avenue, Belfast, BT6"

I have encountered similar behaviour for a number of NI addresses but have noted that this isn't always the case when searching, for example, addresses in London.

After further digging, this appears to be due to there being no postal code information for NI.

I believe the current behaviour to be incorrect. If the post code isn't one which is known, at very least, it should be omitted and results should be returned for the query sans post code.

@openstreetmap-trac
Copy link
Author

@openstreetmap-trac openstreetmap-trac commented Jul 23, 2021

Author: lonvia
[Added to the original trac issue at 4.10pm, Wednesday, 29th May 2013]

The postcode you are looking for does not exist in the OSM database and we do not have external resources for Northern Ireland. As you noted, Nominatim cannot resolve a query with a post code when it does not know about the post code. That is an issue and, as it happens, it is also very well known.

Please look through existing bug reports before reporting an issue. And especially, before reporting an issue three times.

Closed as a duplicate of #2497, #2638 and a few others.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant