Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Improve search if housenumber/postal code is not found #3488

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments
Closed

Improve search if housenumber/postal code is not found #3488

openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments

Comments

@openstreetmap-trac
Copy link

Reporter: ToB
[Submitted to the original trac issue database at 4.15pm, Thursday, 27th January 2011]

Finding the following street does not work in Nominatim:

[http://open.mapquestapi.com/nominatim/v1/search.php?q=43+blv.+du+11+novembre+1918+69622+Villeurbanne 43 blv. du 11 novembre 1918 69622 Villeurbanne]

There are a couple of issues:

  • The postal code seems to be one for a mailbox (CEDEX) and is not listed in OpenOffice
  • The house number is not listed either
  • "blv." is not searched for as "Boulevard"

Expected: If not found, postal code and house numbers should be ignored and "blv." should be also searched for by "Boulevard"

Doing all the changes, Nominatim finds it:

[http://open.mapquestapi.com/nominatim/v1/search.php?q=boulevard+du+11+novembre+1918%2C+Villeurbanne boulevard du 11 novembre 1918, Villeurbanne]

@openstreetmap-trac
Copy link
Author

Author: twain
[Added to the original trac issue at 10.21am, Friday, 28th January 2011]

The problem is purely the 1918. If I remove it from the query then everything else works.

e.g.:

http://open.mapquestapi.com/nominatim/v1/search.php?q=43+blv+du+11+novembre%2C+Villeurbanne&viewbox=-189.85%2C82.25%2C189.85%2C-74.26

I have no idea what the 1918 refers to and I can't see any relevant data in OSM.

@openstreetmap-trac
Copy link
Author

Author: ToB
[Added to the original trac issue at 10.23am, Friday, 28th January 2011]

Hmm, might be also just a data bug. In OSM the street misses the "1918". Still, searching for "43 blv. du 11 novembre, 69622 Villeurbanne" did not help either - only "blv. du 11 novembre, Villeurbanne" worked.

Thus, the "blv." -> "boulevard" worked, ignoring the house number worked, but ignoring the postal code if nothing could be found, does not seem to work.


"I have no idea what the 1918 refers to and I can't see any relevant data in OSM."

Seemingly the year (11th November 1918).

@openstreetmap-trac
Copy link
Author

Author: datendelphin
[Added to the original trac issue at 6.21pm, Friday, 2nd March 2012]

The problem is, that the number pair 1918 69622 is recognized as a lat,lon pair.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 4.59pm, Sunday, 4th March 2012]

Solved the problem with badly recognized lat/lon pair. (Will be deployed shortly.)

There is still the issue, though, that the unknown postcode is not ignored.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 4.48pm, Thursday, 1st May 2014]

The lat/lon issue has been resolved for a while. For ignoring postcodes, see #2497.

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

No branches or pull requests

1 participant