[openstreetmap-website] OSRM: Zoom level 14 causes loss of precision for very close-by locations (#1077)
Daniel Patterson
notifications at github.com
Mon Oct 26 17:05:15 UTC 2015
As usual with OSRM, things are more complicated than that :-)
Calls to `/viaroute` use this logic for tiny components:
https://github.com/Project-OSRM/osrm-backend/blob/develop/plugins/viaroute.hpp#L125-L155
That logic was added in Dec 2014, so it might be newer than osm.org's decision to use Z14.
Anyway, long story short, calls to `/viaroute` will attempt to select common connected networks for potential viapoint snapping, the `z=` parameter doesn't affect it at all. There is no reason for `osm.org` to stick to `z=14` any more, except for the bandwidth savings achieved by line simplification that adding a `z=` parameter triggers.
The `/locate` plugin still uses the method that @systemed referred to, but `/viaroute` does not.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1077#issuecomment-151210712
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20151026/c04e95dd/attachment.html>
More information about the rails-dev
mailing list