Skip to content

Subnetwork removal broken in master for bike2 #432

Closed

Description

@karussell

E.g. for world wide import the nodes are reduced from 129.561.300 to 4.433.882, also for deactivated oneway-subnetwork removal. Occurs only with the setLowSpeed change introduced in #367 and only for bike2

Activity

  1. added this to the 0.5 milestone on Jun 2, 2015
  2. karussell commented on Jun 2, 2015

    @karussell
    MemberAuthor

    Should we use speed==0 value instead of the access bits? Then no need to keep in-sync and should not be more expensive to fetch, plus saving one bit

  3. karussell commented on Jun 2, 2015

    @karussell
    MemberAuthor

    The problem is indeed a tagging issue here (but of course we should not fail).

    There are two ways connecting the two nodes twice:

    http://www.openstreetmap.org/way/321469251
    http://www.openstreetmap.org/way/321469253

    And one way is directed and the other is undirected. The directed leads to a subnetwork with a single node and in the second step the undirected edge is picked and leads to removing the large area.

  4. karussell commented on Jun 2, 2015

    @karussell
    MemberAuthor

    Uhm, it is because 0/0 leads to NaN and this causes these strange setting of the two edges: speed is 0 and access is true except for 321469251 from 792 to 783 leading to the single node subnetwork.

    Regarding the NaN, see in Bike2.applyWayTags -> factor* partDistance / distance ... so this happens only for distances of 0.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions