Skip to content

KCM transfers - use maximum fare of two adjacent legs - #2484

Merged
abyrd merged 2 commits into
opentripplanner:masterfrom
camsys:kcm-transfer-strategy
Aug 17, 2017
Merged

KCM transfers - use maximum fare of two adjacent legs #2484
abyrd merged 2 commits into
opentripplanner:masterfrom
camsys:kcm-transfer-strategy

Conversation

@sdjacobs

Copy link
Copy Markdown
Contributor

For KCM, take the maximum of fares on adjacent legs, rather than adding them.

This was rewritten from my first pass to minimize changes to DefaultFareServiceImpl, & reuse SeattleFareServiceImpl.

Discussed on the mailing list here: https://groups.google.com/forum/#!topic/opentripplanner-dev/70siIXQPYxw

…ather than addition. This is for KCM transfers.

Configure like so (if KCM is in feed 1 and has agency id "KCM"):

{
  fares: {
 	"type": "seattle",
	"useMaxFareStrategy": ["1:KCM"]
  }
}
@sdjacobs sdjacobs mentioned this pull request Aug 17, 2017
@abyrd
abyrd merged commit 7968309 into opentripplanner:master Aug 17, 2017
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

Successfully merging this pull request may close these issues.

2 participants