[openstreetmap-website] OSRM: Zoom level 14 causes loss of precision for very close-by locations (#1077)
Richard Fairhurst
notifications at github.com
Mon Oct 26 16:12:20 UTC 2015
osm.org specifies a constant zoom level of 14 because OSRM is more likely to find a route that way: https://github.com/Project-OSRM/osrm-backend/blob/develop/data_structures/static_rtree.hpp#L580
At z15 and above, OSRM will potentially snap onto a "tiny component", i.e. a small, unconnected piece of routing graph from which you can't route anywhere else. At z14 and below, tiny components are ignored.
You could take the view that tiny components are actually useful for debugging routing errors in OSM, of course, but weighed against that is the consistently worse user experience of routing when a significant proportion of queries fail.
I thought that there was a plan to break out the "tiny components" detection into a separate parameter, but looking at the OSRM source it still appears to be hardcoded to z<=14.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1077#issuecomment-151191895
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20151026/47789345/attachment.html>
More information about the rails-dev
mailing list