Hafas: Detect an on demand line.

This commit is contained in:
Andreas Schildbach 2016-01-21 18:46:02 +01:00
parent aa028228c0
commit 57eb4364b5

View file

@ -2484,7 +2484,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
{
lineAttrs.add(Line.Attr.BICYCLE_CARRIAGE);
}
else if (comment.startsWith("$R ") || comment.startsWith("ga ") || comment.startsWith("Vs "))
else if (comment.startsWith("$R ") || comment.startsWith("ga ") || comment.startsWith("ja ") || comment.startsWith("Vs "))
{
lineOnDemand = true;
lineComment = comment.substring(5);