more lines

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@666 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-05-28 11:22:52 +00:00
parent 3cdb6f6c55
commit 6f2e8d3b70
6 changed files with 6 additions and 14 deletions

View file

@ -1385,6 +1385,8 @@ public abstract class AbstractHafasProvider implements NetworkProvider
return 'R';
if ("MBB".equals(ucType)) // Mecklenburgische Bäderbahn Molli
return 'R';
if ("P".equals(ucType)) // Kasbachtalbahn
return 'R';
if ("ATZ".equals(ucType)) // Autotunnelzug
return 'R';
if ("CAT".equals(ucType)) // City Airport Train
@ -1421,6 +1423,8 @@ public abstract class AbstractHafasProvider implements NetworkProvider
return 'T';
if ("TRA".equals(ucType))
return 'T';
if ("STRWLB".equals(ucType)) // Wiener Lokalbahnen
return 'T';
// Bus
if (P_LINE_BUS.matcher(ucType).matches()) // Generic Bus
@ -1473,6 +1477,8 @@ public abstract class AbstractHafasProvider implements NetworkProvider
return 'F';
// Cable Car
if ("SEILBAHN".equals(ucType))
return 'C';
if ("SB".equals(ucType)) // Seilbahn
return 'C';
if ("ZAHNR".equals(ucType)) // Zahnradbahn, u.a. Zugspitzbahn
@ -1488,8 +1494,6 @@ public abstract class AbstractHafasProvider implements NetworkProvider
// if ("L".equals(normalizedType))
// return "?" + normalizedName;
// if ("P".equals(normalizedType))
// return "?" + normalizedName;
// if ("CR".equals(normalizedType))
// return "?" + normalizedName;
// if ("TRN".equals(normalizedType))

View file

@ -204,8 +204,6 @@ public class NsProvider extends AbstractHafasProvider
if (ucType.equals("L"))
return 'R';
if (ucType.equals("P"))
return 'R';
if (ucType.equals("CR"))
return 'R';
if (ucType.equals("ICT")) // Brügge

View file

@ -580,8 +580,6 @@ public class OebbProvider extends AbstractHafasProvider
// return 'R';
// if (ucType.equals("RNV")) // Rhein-Neckar-Verkehr GmbH, via JSON API
// return 'R';
// if (ucType.equals("P")) // Kasbachtalbahn, via JSON API
// return 'R';
if ("UAU".equals(ucType)) // Rußland
return 'R';
@ -617,8 +615,6 @@ public class OebbProvider extends AbstractHafasProvider
if (ucType.equals("LIF"))
return 'C';
// if (ucType.equals("SEILBAHN")) // via JSON API
// return 'C';
if (ucType.equals("SSB")) // Graz Schlossbergbahn
return 'C';
// if (ucType.equals("HBB")) // Innsbruck Hungerburgbahn, via JSON API

View file

@ -160,8 +160,6 @@ public class PlProvider extends AbstractHafasProvider
return 'R';
if ("ZR".equals(ucType)) // Bratislava, Slovakai
return 'R';
if ("P".equals(ucType)) // Kasbachtalbahn
return 'R';
if ("KTB".equals(ucType)) // Kandertalbahn
return 'R';
if ("LEO".equals(ucType)) // Chiemgauer Lokalbahn

View file

@ -218,8 +218,6 @@ public class SncbProvider extends AbstractHafasProvider
if ("L".equals(ucType))
return 'R';
if ("P".equals(ucType))
return 'R';
if ("CR".equals(ucType))
return 'R';
if ("ICT".equals(ucType)) // Brügge

View file

@ -168,8 +168,6 @@ public class ZvvProvider extends AbstractHafasProvider
if ("BERGBAHN".equals(ucType))
return 'C';
if ("SEILBAHN".equals(ucType))
return 'C';
if ("UNB".equals(ucType))
return '?';