Skip to content

areaVisibility build option causes unwanted connections between areas #3201

Closed

Description

@optionsome

Expected behavior

Edges are created only between edges around an area, not between multiple unconnected areas

Observed behavior

Edges are created between unconnected areas.

This is the situation around Helsinki railway station. Edges are created between platforms which causes paths between platforms where you are walking through railway tracks.
otp1
In OTP2 there seems to be even more problems with edges being created between areas.
otp2

Version of OTP used (exact commit hash or JAR name)

Affects both OTP 1.x and OTP 2.x

Data sets in use (links to GTFS and OSM PBF files)

https://infopalvelut.storage.hsldev.com/gtfs/hsl.zip
https://karttapalvelu.storage.hsldev.com/hsl.osm/hsl.osm.pbf

Router config and graph build config JSON

build-config.json

{
  "areaVisibility": true,
  "parentStopLinking": true
}

Steps to reproduce the problem

Build graph with either OTP1 or OTP2. Check the edges around Helsinki railway station from OTP UI with debug_layers=true and enable the traversal permission map layer.

Activity

  1. added
    X OTP1~ Not in use any more ~ Fix or backport to the 1.x version of OTP
    on Oct 1, 2020
  2. added this to the 2.future milestone on Oct 13, 2020
  3. JohanEntur commented on Sep 29, 2021

    @JohanEntur

    It only affects areas which touch eachother. This is Oslo in OTP2 (not good at all)
    image

    Not as bad in OTP1:
    image

  4. modified the milestones: 2.future, 2.1 on Mar 1, 2022
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

    X OTP1~ Not in use any more ~ Fix or backport to the 1.x version of OTP

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions