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

multiple gtfs feeds and setting transfer_type=3 to disable transfers station #6324

Open
mbachem-rvk opened this issue Dec 9, 2024 · 1 comment

Comments

@mbachem-rvk
Copy link

mbachem-rvk commented Dec 9, 2024

I use otp to read two different GTFS feed zips.
There are multiple possible stations to get transfered from Line-A in Feed-A to line-B in Feed-B.
I want to diable some stations for transfers by setting transfer_type=3 in Feed-B, but OTP does ignore it.

Can I use transfer_type when reading from multiple feeds?
If I merge the feeds manually, transfer_type=3 is working as desired.

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

OTP STARTING UP (version: 2.5.0, ser.ver.id: 148, commit: b301ea7, branch: master) using Java 21

Command line used to start OTP

Version:     2.5.0
Ser.ver.id:  148
Commit:      b301ea7c70f2ce7bb22c7f8e7fba6f8654cea3a5
Branch:      master
Build:       2024-03-13T13:25:20+01:00

13:09:57.160 INFO [main]  (OTPMain.java:107) Searching for configuration and input files in /graphs/devel-1
13:09:57.299 INFO [main]  (ConfigFileLoader.java:130) Load JSON configuration file '/graphs/devel-1/otp-config.json'
13:09:57.310 INFO [main]  (ConfigFileLoader.java:131) Summarizing 'otp-config.json': {
  "otpFeatures" : {
    "FlexRouting" : false
  }
}
13:09:57.318 INFO [main]  (ConfigFileLoader.java:130) Load JSON configuration file '/graphs/devel-1/build-config.json'
13:09:57.319 INFO [main]  (ConfigFileLoader.java:131) Summarizing 'build-config.json': {
  "transitModelTimeZone" : "Europe/Berlin",
  "osmDefaults" : {
    "timeZone" : "Europe/Berlin"
  }
}
13:09:57.388 INFO [main]  (ConfigFileLoader.java:130) Load JSON configuration file '/graphs/devel-1/router-config.json'
13:09:57.389 INFO [main]  (ConfigFileLoader.java:131) Summarizing 'router-config.json': {
  "routingDefaults" : {
    "transferSlack" : 0
  }
}
13:09:57.422 INFO [main]  (OTPFeature.java:138) Features turned on: 
        APIBikeRental
        APIServerInfo
        APIUpdaterStatus
        ConsiderPatternsForDirectTransfers
        DebugUi
        FloatingBike
        GtfsGraphQlApi
        OptimizeTransfers
        TransferConstraints
        TransmodelGraphQlApi
        LegacyRestApi
13:09:57.422 INFO [main]  (OTPFeature.java:139) Features turned off: 
        GtfsGraphQlApiRentalStationFuzzyMatching
        MinimumTransferTimeIsDefinitive
        ParallelRouting
        ActuatorAPI
        AsyncGraphQLFetchers
        Co2Emissions
        DataOverlay
        FaresV2
        FlexRouting
        GoogleCloudStorage
        RealtimeResolver
        ReportApi
        RestAPIPassInDefaultConfigAsJson
        SandboxAPIGeocoder
        SandboxAPIMapboxVectorTilesApi
        SandboxAPIParkAndRideApi
        SandboxAPITravelTime
        TransferAnalyzer
@leonardehrenfried
Copy link
Member

Hi there, welcome to OTP!

It's not possible to define transfers between GTFS feeds at all. I recommend that you merge your feeds.

Generally speaking: if you want well integrated travel results, you need to provide well integrated feeds.

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

2 participants