Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4538 closed defect (invalid)

Query like "75 Gegužių g., Šiauliai" does not find address

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

Description

This building can be found at http://www.openstreetmap.org/edit?lat=55.91334&lon=23.25451&zoom=16 , but nominatim query results show only streets, most of which are located outside the city.

Change History (4)

comment:1 Changed 7 years ago by Sarah Hoffmann

Resolution: invalid
Status: newclosed

This is a data problem. There is no street named 'Gegužių g.' in the area. Nominatim needs a street with the exactly same name as the name you used in the addr:street tag.

Side node: please don't abbreviate street names (speaking of the 'g.' in 'Gegužių g.' here). It is much easier for a machine to abbreviate a complete name than guess what an abbreviation means.

comment:2 in reply to:  1 ; Changed 7 years ago by geriBatai

Resolution: invalid
Status: closedreopened

Replying to lonvia:

Side node: please don't abbreviate street names (speaking of the 'g.' in 'Gegužių g.' here). It is much easier for a machine to abbreviate a complete name than guess what an abbreviation means.

I'm not sure about this. I use "g." because most of the time addresses are not found without it. As example - "13, Virsilu" finds only street object, yet "13, virsilu g." finds the house number. Data problem also?

comment:3 in reply to:  2 ; Changed 7 years ago by Sarah Hoffmann

Resolution: invalid
Status: reopenedclosed

Replying to geriBatai:

I'm not sure about this. I use "g." because most of the time addresses are not found without it. As example - "13, Virsilu" finds only street object, yet "13, virsilu g." finds the house number. Data problem also?

Yes, in this case Nominatim is tripped by the fact that there is a street named 'Virsilu' as well. If you rename http://www.openstreetmap.org/browse/way/80515568 to 'Viršilų g.' it will work fine.

Technical explanation: Nominatim looks for the street first and then for house numbers on the street. In this case, it is happy to find an exact match to your query 'Virsilu' and stops right there. It then cannot find the house number because it is attached to the other way named 'Viršilų g.'.

Anyhow, this has nothing to do with you using abbreviations or not. If you name that street 'Viršilų g.', it is rather difficult to find out that this is supposed to mean 'Viršilų gatvė' (at least that is what Google tells me) because you first have to figure out which language that name is in etc. It is much easier, when the name is not abbreviated in OSM. Then all we need is a list of common abbreviations for each language. Of course, you still need to let us know what all these abbreviations mean in Lithuanian.

comment:4 in reply to:  3 Changed 7 years ago by geriBatai

Replying to lonvia:

Replying to geriBatai:

I'm not sure about this. I use "g." because most of the time addresses are not found without it. As example - "13, Virsilu" finds only street object, yet "13, virsilu g." finds the house number. Data problem also?

Yes, in this case Nominatim is tripped by the fact that there is a street named 'Virsilu' as well. If you rename http://www.openstreetmap.org/browse/way/80515568 to 'Viršilų g.' it will work fine.

Technical explanation: Nominatim looks for the street first and then for house numbers on the street. In this case, it is happy to find an exact match to your query 'Virsilu' and stops right there. It then cannot find the house number because it is attached to the other way named 'Viršilų g.'.

Anyhow, this has nothing to do with you using abbreviations or not. If you name that street 'Viršilų g.', it is rather difficult to find out that this is supposed to mean 'Viršilų gatvė' (at least that is what Google tells me) because you first have to figure out which language that name is in etc. It is much easier, when the name is not abbreviated in OSM. Then all we need is a list of common abbreviations for each language. Of course, you still need to let us know what all these abbreviations mean in Lithuanian.

What I would like to know is what to do with all the street data in Lithuania. Almost all of the streets have 'g.' (shorthand for gatvė - street) attached

Note: See TracTickets for help on using tickets.