openstreetmap / openstreetmap-website

The Rails application that powers OpenStreetMap
https://www.openstreetmap.org/
GNU General Public License v2.0
2.2k stars 910 forks source link

Show route hints on the website? #5275

Open osmuser63783 opened 2 weeks ago

osmuser63783 commented 2 weeks ago

Problem

GraphHopper doesn't just output directions, it also outputs details (referred to as "route hints" or "path details" in the documentation) about things like dangerous sections.

What are your thoughts on showing these on the osm.org website, in addition to the directions?

Description

Examples of "route hints" include

These could be shown in an info box above the directions.

Why? For mappers, it's useful feedback that their tags are being looked at by data consumers. For non-mappers, I think strategically it's important for OSM that osm.org shows off the cool things that can be done with OSM data, to attract them to contribute to OSM. When people who aren't really familiar with OSM are shown nonsensical or dangerous routes, I am worried it will turn them off OSM because they don't understand that "under the hood" there's a lot more going on.

Screenshots

What it looks like on GraphHopper Maps:

Screenshot 2024-10-20 at 18 42 29

What it looks like on osm.org (no route hints / path details):

Screenshot 2024-10-20 at 18 44 13
mmd-osm commented 2 weeks ago

FYI: Since it doesn't really make sense to replicate each and every routing UI feature on the osm.org repo, we're looking to add a direct link to various routing engines in #5224

tomhughes commented 2 weeks ago

Non-mappers are not our target audience so only benefits to mappers matter here.