Detect several on demand lines.

This commit is contained in:
Andreas Schildbach 2014-05-20 18:09:05 +02:00
parent 99ec2eb268
commit 710d074c47
2 changed files with 9 additions and 5 deletions

View file

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