this post was submitted on 19 Apr 2026
54 points (95.0% liked)

Open Source

46570 readers
116 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
 

Hi everyone!

I do some contributions to OSM and wonder why it’s not building “shortest” possible way (marked as green?

Also, will OSM - OrganicMaps\CoMaps will introduce any time soon ability for public transport routes?

I try OsmAnd+ but didn’t really like it 😥

Upd: Path is diffenetley mapped

Thanks

P.S. The BENCH IS DIFFENETLY NOT ON THE WAY

you are viewing a single comment's thread
view the rest of the comments
[–] mogoh@lemmy.ml 7 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

So, two things are to consider here:

  1. Is the underlying OSM mapping data correct? This is something we can not deduct from the screenshot. If it is not to privacy violating you might share the exact location.
  2. Is the routing algorithm working correctly? Once we made sure that the underlying data is correct, we can see, if it is working. Then we could file a bug report if still something is off.
[–] iuvi@lemmy.ca 7 points 2 weeks ago (1 children)

I will share locations after ~7 days, will see if time load\change things a bit first For now bicycle on that trail works ok, but when i change to "walk" it does path that showed on picture, despite i added tag for trail walk - yes, bicycles - yes

[–] balsoft@lemmy.ml 9 points 1 week ago* (last edited 1 week ago)

I've managed to locate the exact place from the screenshot (there was enough identifying info for an overpass query so you might want to consider improving opsec if it's a privacy concern).

I think the reason why walking prefers to go the long way around is because the path parallel to the secondary road is marked as highway=footway, and walking algorithms generally prefer those over other types of paths. It is assumed that highway=footway is tended to and therefore more pleasant/fast to walk on compared to a general highway=path, which is just something that is maintained naturally because of people walking there. I guess surface=mud on the shorter path might also play into it - routers will generally penalize worse surfaces and instead suggest you to walk on firmer ones.

If that shorter path is actually "official" in some way and is pleasant to walk on, consider changing it to highway=footway, otherwise the router is probably behaving correctly by not sending you down a muddy shortcut.