OpenTripPlanner/doc/templates/Flex.md
2024-07-24 15:45:54 +02:00

1.9 KiB

Flexible transit routing

Contact Info

  • Kyyti Group Oy, Finland
  • Entur, Norway
  • Hannes Junnila

Documentation

To enable this turn on FlexRouting as a feature in otp-config.json.

The GTFS feeds must conform to the final, approved version of the draft which has been merged into the mainline specification in March 2024.

Experimental features

This sandbox feature also has experimental support for the following fields:

  • safe_duration_factor
  • safe_duration_offset

These features are currently undergoing specification and their definition might change. OTP's implementation will be also be changed so be careful when relying on this feature.

Configuration

This feature allows a limited number of config options. To change the configuration, add the following to router-config.json.

Changelog

OTP 2.1

  • Initial implementation of Flexible transit routing
  • Use one-to-many search in order to make the performance of the StreetFlexPathCalculator acceptable. (April 2021)
  • Also link transit stops used by flex trips to the closest car traversable edge. This allows flex street routing all the way to the stop. (April 2021)
  • Fix performance issues with the StreetFlexPathCalculator #3460
  • Improve performance of flex access/egress routing #3661
  • Allow getting on and off at the same flex stop time #3720
  • Calculate fare for flex routes #3743

OTP 2.3

  • Enable configuration of maxFlexTripDuration and change of type of maxTransferDuration routes #4642