mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-08 00:08:49 +00:00
Hafas: Detect several on demand lines in binary trips.
This commit is contained in:
parent
ba35a1dcff
commit
027268ecec
1 changed files with 2 additions and 1 deletions
|
@ -2498,7 +2498,8 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
||||||
{
|
{
|
||||||
lineAttrs.add(Line.Attr.BICYCLE_CARRIAGE);
|
lineAttrs.add(Line.Attr.BICYCLE_CARRIAGE);
|
||||||
}
|
}
|
||||||
else if (comment.startsWith("$R ") || comment.startsWith("ga ") || comment.startsWith("ja ") || comment.startsWith("Vs "))
|
else if (comment.startsWith("$R ") || comment.startsWith("ga ") || comment.startsWith("ja ") || comment.startsWith("Vs ")
|
||||||
|
|| comment.startsWith("mu ") || comment.startsWith("mx "))
|
||||||
{
|
{
|
||||||
lineOnDemand = true;
|
lineOnDemand = true;
|
||||||
lineComment = comment.substring(5);
|
lineComment = comment.substring(5);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue