Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
miklcct opened this issue Sep 13, 2024 · 2 comments
Closed

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

miklcct opened this issue Sep 13, 2024 · 2 comments

Comments

@miklcct
Copy link
Contributor

miklcct commented Sep 13, 2024

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
Copy link
Contributor Author

miklcct commented Sep 13, 2024

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
Copy link
Contributor Author

miklcct commented Sep 24, 2024

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.

@miklcct miklcct closed this as completed Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant