Hafas: Detect several on demand lines in binary trips.

This commit is contained in:
Andreas Schildbach 2016-06-08 11:43:49 +02:00
parent ba35a1dcff
commit 027268ecec

View file

@ -2498,7 +2498,8 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
{
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;
lineComment = comment.substring(5);