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

How can I tell Nominatim to always report nearest road? #3723

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

How can I tell Nominatim to always report nearest road? #3723

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

Comments

@openstreetmap-trac
Copy link

Reporter: pere[at]hungry.com
[Submitted to the original trac issue database at 6.14pm, Monday, 25th April 2011]

I use Nominatim with www.fiksgatami.no to report information about the nearest road to the councils receiving reports from the site (this is the norwegian www.fixmystreet.com).

This works reasonably well when a location lookup in nominatim report information about a nearby road, but for some locations no road information is returned.

A search that only return a node is this:
http://nominatim.openstreetmap.org/reverse?format=xml&zoom=16&lat=59.90608&lon=10.52355

A search that return a road is this:
http://nominatim.openstreetmap.org/reverse?format=xml&zoom=16&lat=59.430144&lon=5.260994

I would like to always get information about the nearest road, also for the first search.

@openstreetmap-trac
Copy link
Author

Author: pere[at]hungry.com
[Added to the original trac issue at 9.17am, Thursday, 28th April 2011]

Another thing that would make the nearest road feature more useful for fiksgatami, would be if the search would return information about the N nearest roads. This is useful when several roads cross each other or there are tunnels below other roads.

At the moment the information returned by Nominatim is too inaccurate to depend on, and we include it in the messages to the municipalities on a "in case it is useful" basis.

@openstreetmap-trac
Copy link
Author

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

Should work now when using the zoom parameter

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