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

Low importance given to place=town Lowestoft #4938

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

Low importance given to place=town Lowestoft #4938

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

Comments

@openstreetmap-trac
Copy link

Reporter: Pink Duck
[Submitted to the original trac issue database at 5.20pm, Friday, 9th August 2013]

For the search "Stanford Street, Lowestoft" the result was:

"Stanford Street, Kirkley, Waveney District, Suffolk, East of England, England, NR32 2NZ, United Kingdom"

The expected result is:
"Stanford Street, Lowestoft, Waveney District, Suffolk, East of England, England, NR32 2NZ, United Kingdom"

http://nominatim.openstreetmap.org/details.php?place_id=54467221

The address features above show that Lowestoft was excluded for having too low an importance, even though the place=town node is just 700 m away. The Waveney district relation won out with 17 the importance.

What causes Lowestoft to be ranked so low? Does something need to change with OSM tagging to resolve this?

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 9.56am, Saturday, 10th August 2013]

Addresses don't take into account importance, it is only computed based on distance and the kind of geometry. Boundary relations always win over place nodes because they are more precise.

You should be able to solve this particular one by adding a town boundary relation for Lowestoft.

@openstreetmap-trac
Copy link
Author

Author: Pink Duck
[Added to the original trac issue at 6.13pm, Sunday, 11th August 2013]

The difficulty is that there's no publicly available definition for the extent of Lowestoft or its suburbs. What could be said though is that the average town has a radius of more than 700 metres, and thus the street in question could be presumed to belong to it.

@openstreetmap-trac
Copy link
Author

Author: Pink Duck
[Added to the original trac issue at 7.01am, Sunday, 18th August 2013]

In thinking about it, the more specific issue here is that Nominatim returned a place=suburb node in preference to a place=town node, even though place=town was considerably nearer. Towns and suburbs typically work with a town centre area and suburbs situated further out. So if the town node is nearest then the street/address is probably not in a suburb.

As a district area and town node appear to be considered the same level, if a place=town node is nearer than a place=suburb then it would give a better result to pick the town over (or in addition to) the district.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 8.23pm, Sunday, 18th August 2013]

The place=suburb node had nothing to do with that. Suburbs are on a level below towns, so they are evaluated independently.

I see you've fixed the issue by adding a rough town boundary, so closing this issue.

@openstreetmap-trac
Copy link
Author

Author: Pink Duck
[Added to the original trac issue at 8.57pm, Sunday, 18th August 2013]

While I worked around this particular address, it would be better if Nominatim simply dropped the suburb in preference to the town if the town is nearer for all other cases.

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