Skip to content

Barriers lead to disconnected areas #86

Closed

Description

@karussell

Currently we completely remove small subnetworks in order to avoid failures when routing (as two disconnected areas won't have a path in between). Those subnetworks exists due to OSM errors or other things (?)

But the barriers can introduce further subnetworks (example). The problem is that only a subset of the allowed vehicles could be affected by those barriers. E.g. barrier=bollard limits cars but not pedestrians. Which means only for cars the disconnected subnetwork exists.

  • In order to fix that one needs to identify all subnetworks (per vehicle) and restrict access (setting both direction flags to 0). Now, if all allowed vehicles have the same restriction for one edge one can safely remove this edge.
  • Make this process working for the one way network removal (tarjan algorithm) too
  • But still there will be problems related to this as in some cases an area is only reachable to "go out" or "go in". E.g. this query or here. This will be fixed via Partial fix for #86 - removing dead-end small subnetworks #226

Activity

  1. added this to the 0.2 milestone on Mar 29, 2014
  2. jtheuer commented on May 27, 2014

    @jtheuer

    Another subnetwork issue I found (and have no idea how to deal with) is a oneway that has no entry for bicycles / pedestrians (could be connected to a motorway).

  3. karussell commented on May 27, 2014

    @karussell
    MemberAuthor

    Do you have a link? As normally if those streets are not accessible by pedestrian they won't be included. Or are you using multiple vehicles?

  4. jtheuer commented on May 27, 2014

    @jtheuer
  5. added 5 commits that reference this issue on Jun 17, 2014
  6. added a commit that references this issue on Jun 30, 2014
  7. karussell commented on Jul 10, 2014

    @karussell
    MemberAuthor

    Partial fix for oneway is #226 or the newer solution in #235 via tartjan algorithm, which has only one traversal.

  8. modified the milestones: 0.2, 0.5 on Jul 29, 2014
  9. Svantulden commented on Feb 11, 2015

    @Svantulden

    What could be used as a workaround to allow bike,foot vehicles but also use the prepare.minOnewayNetworkSize=200 and prepare.minNetworkSize=100 setting?

    Do I need to prepare one graph for every vehicle with these settings and run them on a different port?

  10. karussell commented on Feb 11, 2015

    @karussell
    MemberAuthor

    Yes, as a workaround something like this would necessary and would be probably the easiest to setup. Or use one JVM with multiple GraphHopper instances.

    The best way of course would be to fix the issue :)

  11. karussell commented on Aug 4, 2015

    @karussell
    MemberAuthor

    Fixed and merged in #487

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