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

Error in Nominatim search #4724

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

Error in Nominatim search #4724

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

Comments

@openstreetmap-trac
Copy link

Reporter: meghaltam[at]yahoo.com
[Submitted to the original trac issue database at 8.11pm, Wednesday, 26th December 2012]

When I try to find information about a street, using it's name, I discovered a strange thing.

If I search for the street "Strada Anton Pan" stored with ID number: 42042650 in the following way, I get an empty array: " http://nominatim.openstreetmap.org/search?format=json&q=Anton%20Pan,Satu%20Mare,Satu%20Mare,Romania ".

But if I only give one word from the streets name, like: " http://nominatim.openstreetmap.org/search?format=json&q=Anton,Satu%20Mare,Satu%20Mare,Romania " I get the correct data.
The name field of this id is as follows: "Strada Anton Pan, Satu Mare, Municipiul Satu-Mare, Satu Mare, 440182, Romania"

This thing is true to all street names, where the name contains a space in it, for example George Cosbuc, Ilarie Chendi(all of them from Satu Mare, Satu Mare, Romania). By searching for the whole name, I get an empty array, but if I search for only one word, I get the desired result.

I don't know if this is a bug, or is intended this way, but please take a look.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 8.38pm, Thursday, 3rd January 2013]

multi-word substrings are currently not supported

duplicate of #3733

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