This commit is contained in:
Andreas Schildbach 2015-11-28 16:20:13 +01:00
parent 9d18f36fa9
commit 6c1ee94b91
5 changed files with 26 additions and 6 deletions

View file

@ -1468,6 +1468,11 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
{
return new Line(id, network, null, ParserUtils.firstNotEmpty(symbol, name));
}
else if ("13".equals(mot))
{
if (("S-Bahn".equals(trainName) || (longName != null && longName.startsWith("S-Bahn"))) && symbol != null)
return new Line(id, network, Product.SUBURBAN_TRAIN, symbol);
}
else if ("17".equals(mot))
{
if (trainNum == null && "Schienenersatzverkeh".equals(trainName))