This commit is contained in:
Andreas Schildbach 2016-11-23 01:09:37 +01:00
parent 2de9f14e4d
commit c70529e4d9
3 changed files with 8 additions and 1 deletions

View file

@ -3589,6 +3589,8 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider {
return Product.BUS;
if ("NB".equals(ucType)) // Nachtbus Zürich
return Product.BUS;
if ("POSTBUS".equals(ucType))
return Product.BUS;
// Phone
if ("RUFBUS".equals(ucType))

View file

@ -119,6 +119,11 @@ public class NvvProvider extends AbstractHafasProvider {
if ("MOFA".equals(ucType)) // Mobilfalt-Fahrt
return Product.ON_DEMAND;
if ("64".equals(ucType))
return null;
if ("65".equals(ucType))
return null;
return super.normalizeType(type);
}
}

View file

@ -123,7 +123,7 @@ public class SydneyProvider extends AbstractEfaProvider {
return new Line(id, network, Product.SUBURBAN_TRAIN, "T7");
if (("31".equals(symbol) || "36".equals(symbol) || "621".equals(symbol) || "622".equals(symbol)
|| "635".equals(symbol))
|| "635".equals(symbol) || "636".equals(symbol))
&& ((trainName != null && trainName.startsWith("Regional Trains"))
|| (longName != null && longName.startsWith("Regional Trains"))))
return new Line(id, network, null, symbol);