Skip to content

Make ford check including checking depth == 0 #236

Closed

Description

@karussell

As the wiki says a ford can have depth=0 so we should include this in our check for all vehicles. Additionally we could use InstructionAnnotation to warn the user about this possible problem. What about intermittent=yes or seasonal=yes?

Which will fix e.g. this possible bus route:
bus-route

http://graphhopper.com/maps/?point=Kulgera%2C%20Australia&point=Alice%20Springs%2C%20Australia

Activity

  1. karussell commented on Jul 14, 2014

    @karussell
    MemberAuthor

    Hmmh, I would like to avoid this if we are not sure. Because if there is a different tagging philosophy in another country then we guide people over fords which is really ugly if not empty.

    If overpass API would be easier to use we could probably find this out fast. But I failed the last minutes to get what we want :/ (similar to this?). Maybe you can find out the query and I'll check for Germany and parts of the US?

  2. MarkCupitt commented on Jul 14, 2014

    @MarkCupitt

    Don't forget Seasonal issues, some roads are passable in the Dry Season,
    but not passable in the Wet Season. I'm not sure how they are tagged or if
    it is possible but it sure would be nice to accommodate that

    Regards

    Mark Cupitt

  3. rodneyodonnell commented on Jul 15, 2014

    @rodneyodonnell

    (switching back to my regular account, I was logged in as rome2rio on my previous comment).

    I haven't played with the overpass API before but hacked something together which seems to work.

    This quesy displays all major roads with a ford on them (and all the other fords too as I couldn't work out how to get rid of them...). It would be great if someone could do a quick sanity check of the code as I'm not 100% sure I'm doing it right.

    (
      (
        node({{bbox}})[ford~"^(yes)$"];
        way(around:0)[highway~"^(motorway|trunk|primary)$"]
      );>;
    )
    ;out;
    

    Doing some spot checks, I see that there is no obvious impact from fords (on major roads) in the US, Canada, Germany, the UK, Norway or Ireland. However, there are quite a few of them throughout Africa, South America and outback Australia.

    To me, it seems that all these roads in Australia should be treated as passable. The fords will be dry the vast majority of the time and if you're driving in that part of the country you would usually be in a 4wd anyway.

    Many of these roads in South America are unpaved and in remote regions so the same logic would probably apply. Not sure how any of these are dry year-round through.

    Matt: I don't have a good feel for how many of these cases are impacted by wet/dry season. Looking at the Pantanal in Brazil (80% submerged floodplains during wet season according to wikipedia) there are a bunch of fords, but not on major roads. Seems that most primary/trunk roads would be driveable year round?

  4. karussell commented on Jul 15, 2014

    @karussell
    MemberAuthor

    Ok, thanks - I'll check! BTW: where did you find this notation?

    Regarding time: well that problem we also have for ferries and in theory we could decrease time depending on how often the ferry goes (currently we just take the duration into account).

    For fords I don't see a big problem as Rod pointed out that is mostly dry in Australia and OpenStreetMap has not really a notation to indicate the time it only says 'seasonal=yes' if I'm not wrong.

    I also found this in the wiki: "ford=* unlike flood_prone areas, fords may be safe to cross if there is water across the roadway." See http://wiki.openstreetmap.org/wiki/Key:flood_prone ... hmmh but this is also seasonal: http://wiki.openstreetmap.org/wiki/Talk:Key:bridge "two years ago two young men died trying to pass it"

  5. rodneyodonnell commented on Jul 15, 2014

    @rodneyodonnell

    I based my code on the accepted answer in the stackoverflow you linked to:
    http://stackoverflow.com/q/22468442/194609

    Spent a bunch of time trying/failing to get the XML working first though :-)

  6. added this to the 0.4 milestone on Nov 26, 2014
  7. karussell commented on Jan 25, 2015

    @karussell
    MemberAuthor

    Probably we tag this route segment as potential dangerous (via instruction annotation). I got a new report in france that this should be passable.

  8. malenki commented on Feb 17, 2015

    @malenki

    I'd vote for make fords routable with graphhopper. If the weren't passable the one or other way they wouldn't have been mapped as ford. You may warn users for fords (not the way between them), but there are less developed countries where routing with graphhopper will get you nowhere if you won't router over fords:
    https://graphhopper.com/maps/?point=benje-novosele&point=40.299871%2C20.467808

    PS: In case you want to send the bicycle along the path (routing is fine this way) have a look at it. (scai, thanks for the hint)

  9. MarkCupitt commented on Feb 17, 2015

    @MarkCupitt

    Suggestion: Maybe in the Turn Instructions, list specifically that it is a Ford and may not be passable ..

  10. scaidermern commented on Feb 17, 2015

    @scaidermern

    Maybe we should try to give fords just a penalty instead of avoiding them altogether.

  11. modified the milestones: 0.5, 0.4 on Mar 2, 2015
  12. pyrog commented on Jun 12, 2015

    @pyrog

    @malenki 👍

    I'd vote for make fords routable with graphhopper. If the weren't passable the one or other way they wouldn't have been mapped as ford. You may warn users for fords

    @scaidermern 👍

    Maybe we should try to give fords just a penalty instead of avoiding them altogether.

    See an example in France: I use intermediates to force the algorithm to use this itinerary.

    We could have the same problem with mountain pass in winter 😉
    💡 Add an option to avoid mountain pass, ford, toll…

  13. 17 remaining items

  14. bohwaz commented on Jun 15, 2017

    @bohwaz

    Ah great! Though I don't understand how you made all those new buttons appear ^^

  15. mprins commented on Jun 15, 2017

    @mprins
    Contributor

    @bohwaz there's a button like "..." next to the bike

  16. bohwaz commented on Jun 15, 2017

    @bohwaz

    Oh my! Thanks! Didn't look like a button though.

    Sorry then, thanks for your help :)

  17. karussell commented on Dec 16, 2017

    @karussell
    MemberAuthor

    Yes, we now use the block_fords=false option in the Directions API that was already there in the routing engine and we will see if this results in better feedback or worse as the current state gave us too many reports (similar to our still conservative behaviour for ferries and gates)

  18. removed this from the 0.10 milestone on Jan 15, 2018
  19. added this to the 1.0 milestone on Dec 4, 2019
  20. karussell commented on Dec 4, 2019

    @karussell
    MemberAuthor

    There is now a prominent warning for all vehicles due to #1811, so we've finally made block_fords=false the default for all FlagEncoders.

    Additionally there is a bug fix to still block fords if explicitly tagged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions