opentripplanner / OpenTripPlanner

An open source multi-modal trip planner
http://www.opentripplanner.org
Other
2.21k stars 1.03k forks source link

Can't route to stop inside an area by foot #6064

Closed miklcct closed 1 month ago

miklcct commented 1 month ago

Expected behavior

OpenTripPlanner can take me to the stop which is located inside an area accessible by foot. As a result, it doesn't tell me to take a train from there.

Observed behavior

OpenTripPlanner returns no route

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

Tried both 2.4.0 and 2.6.0-SNAPSHOT

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

https://download.geofabrik.de/europe/united-kingdom/england-latest.osm.pbf

Transport is not relevant here

Command line used to start OTP

Router config and graph build config JSON

build-config.json for 2.4.0 deployment

{
        "boardingLocationTags": ["ref", "naptan:AtcoCode", "naptan:NaptanCode"],
        "osmDefaults" : {
                "timeZone" : "Europe/London",
                "osmTagMapping" : "uk"
        },
        "transitFeeds" : [
                {
                        "type" : "gtfs",
                        "feedId" : "DfT",
                        "source" : "gtfs-dft.zip"
                },
                {
                        "type" : "gtfs",
                        "feedId" : "NR",
                        "source" : "national_rail_gtfs.zip"
                }
        ],
        "stopConsolidationFile" : "consolidated-stops.csv",
        "staticBikeParkAndRide" : true,
        "staticParkAndRide" : true
}

build-config for 2.6.0 deployment

{
    "areaVisibility": true,
    "dataImportReport": true,
    "maxTransferDuration": "PT15M",
    "multiThreadElevationCalculations": true,
    "staticBikeParkAndRide" : true,
    "staticParkAndRide" : true,
    "stopConsolidationFile" : "consolidated-stops.csv",
    "subwayAccessTime": "1.0",
    "transitModelTimeZone": "Europe/London",
    "transitServiceEnd": "P3M",
    "transitServiceStart": "P-7D",
    "boardingLocationTags": ["ref", "ref:crs", "naptan:AtcoCode", "naptan:NaptanCode"],
    "gtfsDefaults": {
        "discardMinTransferTimes": true
    },
    "osmDefaults" : {
        "osmTagMapping" : "uk",
        "timeZone" : "Europe/London"
    },
    "transitFeeds" : [
        {
            "type" : "gtfs",
            "feedId" : "DfT",
            "source" : "gtfs-dft.zip"
        },
        {
            "type" : "gtfs",
            "feedId" : "NR",
            "source" : "national_rail_gtfs.zip"
        }
    ]
}

Steps to reproduce the problem

  1. Try to route from outside Reading station to platform 11.

Screenshots

2.4.0

image

2.6.0

image image

Graphhopper

image

miklcct commented 1 month ago

I am not sure what the problem is, but I have just remapped the station making all platforms areas and the ways platform edges according to the OpenStreetMap wiki, and the problem has been disappeared.

miklcct commented 1 month ago

I am suspecting that the problem is incorrect mapping instead. I have adjusted the map and will confirm the result a few days later to see if it is really a bug in OSM.