AbstractEfaProvider: 'FEX' line

This commit is contained in:
Andreas Schildbach 2024-11-02 12:21:56 +01:00
parent 3541ab1c8b
commit 3c953a696c

View file

@ -1335,6 +1335,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
return new Line(id, network, Product.REGIONAL_TRAIN, symbol);
if (trainType == null && trainNum != null && P_LINE_MEX.matcher(trainNum).matches()) // Metropolexpress
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
if ("FEX".equals(trainNum))
return new Line(id, network, Product.REGIONAL_TRAIN, "FEX");
if (("FEX".equals(trainType) || "Flughafen-Express".equals(trainName)) && trainNum != null)
return new Line(id, network, Product.REGIONAL_TRAIN, "FEX" + trainNum);