[openstreetmap/openstreetmap-website] a complete logical highway by name (#866)
mmd
notifications at github.com
Tue Apr 18 17:31:34 UTC 2017
> Could this not be solved by using Nominatim's dedupe=0 parameter and then displaying all search results instead of just the first?
Interesting. This parameter was undocumented on the OSM wiki until only a few weeks ago, based on your [answer on Help OSM](https://help.openstreetmap.org/questions/52260/openstreetmap-nominatim-api-limit-parameter-behaving-erratically-returns-inconsistent-numbers-of-results) last September. That's why I completely overlooked it when @jotpe raised an issue on Overpass API two years ago.
The result is on the left-hand sidebar would probably blow up with such a large unaggregated list of street elements. On the other hand, the resulting geometry as it is returned by `dedupe=0` would for sure be a very good starting point for such a feature.
It did a small test with [London Waterloo Road](http://nominatim.openstreetmap.org/search?q=london+waterloo+road&addressdetails=0&dedupe=0&polygon_geojson=1&limit=50&format=jsonv2) and it seems to include everything we need.
Now, the tricky part is indeed to find some meaningful concept of a logical street. I fully agree with @woodpeck that this is not straight forward, and different users might have different use cases. On the other hand, the search result, as it is presented today is not very appealing to normal users, as @mcm-jyl also remarked:
> but a normal user expects to see the whole street, not tiny segments due to crossings for instance.
Now, reason for using Overpass: well, it's good for prototyping and can be easily adjusted to try out different approaches. I don't expect the final solution to be based on Overpass - Nominatim would be the target architecture.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/866#issuecomment-294920163
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170418/f2cde6b9/attachment.html>
More information about the rails-dev
mailing list