[openstreetmap/openstreetmap-website] Fixed motorways being referred to as unnamed roads (#1741)

Frederik Ramm notifications at github.com
Mon Feb 12 10:51:41 UTC 2018


> This is because, for some reason, the OSRM API returns normal road names (i.e. Savile Street) in the step.name attribute in the JSON response, however, includes motorway/freeway names (i.e. M1) in the step.ref attribute.

Just as a side remark, this behaviour of OSRM is a direct consequence of how we map things in OpenStreetMap; one value is what we map as "name", the other is what we map as "ref". The situation you describe (empty name but ref set) is common for, but not unique to, motorways.

-- 
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/pull/1741#issuecomment-364888191
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180212/1485116c/attachment.html>


More information about the rails-dev mailing list