mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 08:40:29 +00:00
more lines
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@666 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
3cdb6f6c55
commit
6f2e8d3b70
6 changed files with 6 additions and 14 deletions
|
@ -1385,6 +1385,8 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
||||||
return 'R';
|
return 'R';
|
||||||
if ("MBB".equals(ucType)) // Mecklenburgische Bäderbahn Molli
|
if ("MBB".equals(ucType)) // Mecklenburgische Bäderbahn Molli
|
||||||
return 'R';
|
return 'R';
|
||||||
|
if ("P".equals(ucType)) // Kasbachtalbahn
|
||||||
|
return 'R';
|
||||||
if ("ATZ".equals(ucType)) // Autotunnelzug
|
if ("ATZ".equals(ucType)) // Autotunnelzug
|
||||||
return 'R';
|
return 'R';
|
||||||
if ("CAT".equals(ucType)) // City Airport Train
|
if ("CAT".equals(ucType)) // City Airport Train
|
||||||
|
@ -1421,6 +1423,8 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
||||||
return 'T';
|
return 'T';
|
||||||
if ("TRA".equals(ucType))
|
if ("TRA".equals(ucType))
|
||||||
return 'T';
|
return 'T';
|
||||||
|
if ("STRWLB".equals(ucType)) // Wiener Lokalbahnen
|
||||||
|
return 'T';
|
||||||
|
|
||||||
// Bus
|
// Bus
|
||||||
if (P_LINE_BUS.matcher(ucType).matches()) // Generic Bus
|
if (P_LINE_BUS.matcher(ucType).matches()) // Generic Bus
|
||||||
|
@ -1473,6 +1477,8 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
||||||
return 'F';
|
return 'F';
|
||||||
|
|
||||||
// Cable Car
|
// Cable Car
|
||||||
|
if ("SEILBAHN".equals(ucType))
|
||||||
|
return 'C';
|
||||||
if ("SB".equals(ucType)) // Seilbahn
|
if ("SB".equals(ucType)) // Seilbahn
|
||||||
return 'C';
|
return 'C';
|
||||||
if ("ZAHNR".equals(ucType)) // Zahnradbahn, u.a. Zugspitzbahn
|
if ("ZAHNR".equals(ucType)) // Zahnradbahn, u.a. Zugspitzbahn
|
||||||
|
@ -1488,8 +1494,6 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
||||||
|
|
||||||
// if ("L".equals(normalizedType))
|
// if ("L".equals(normalizedType))
|
||||||
// return "?" + normalizedName;
|
// return "?" + normalizedName;
|
||||||
// if ("P".equals(normalizedType))
|
|
||||||
// return "?" + normalizedName;
|
|
||||||
// if ("CR".equals(normalizedType))
|
// if ("CR".equals(normalizedType))
|
||||||
// return "?" + normalizedName;
|
// return "?" + normalizedName;
|
||||||
// if ("TRN".equals(normalizedType))
|
// if ("TRN".equals(normalizedType))
|
||||||
|
|
|
@ -204,8 +204,6 @@ public class NsProvider extends AbstractHafasProvider
|
||||||
|
|
||||||
if (ucType.equals("L"))
|
if (ucType.equals("L"))
|
||||||
return 'R';
|
return 'R';
|
||||||
if (ucType.equals("P"))
|
|
||||||
return 'R';
|
|
||||||
if (ucType.equals("CR"))
|
if (ucType.equals("CR"))
|
||||||
return 'R';
|
return 'R';
|
||||||
if (ucType.equals("ICT")) // Brügge
|
if (ucType.equals("ICT")) // Brügge
|
||||||
|
|
|
@ -580,8 +580,6 @@ public class OebbProvider extends AbstractHafasProvider
|
||||||
// return 'R';
|
// return 'R';
|
||||||
// if (ucType.equals("RNV")) // Rhein-Neckar-Verkehr GmbH, via JSON API
|
// if (ucType.equals("RNV")) // Rhein-Neckar-Verkehr GmbH, via JSON API
|
||||||
// return 'R';
|
// return 'R';
|
||||||
// if (ucType.equals("P")) // Kasbachtalbahn, via JSON API
|
|
||||||
// return 'R';
|
|
||||||
if ("UAU".equals(ucType)) // Rußland
|
if ("UAU".equals(ucType)) // Rußland
|
||||||
return 'R';
|
return 'R';
|
||||||
|
|
||||||
|
@ -617,8 +615,6 @@ public class OebbProvider extends AbstractHafasProvider
|
||||||
|
|
||||||
if (ucType.equals("LIF"))
|
if (ucType.equals("LIF"))
|
||||||
return 'C';
|
return 'C';
|
||||||
// if (ucType.equals("SEILBAHN")) // via JSON API
|
|
||||||
// return 'C';
|
|
||||||
if (ucType.equals("SSB")) // Graz Schlossbergbahn
|
if (ucType.equals("SSB")) // Graz Schlossbergbahn
|
||||||
return 'C';
|
return 'C';
|
||||||
// if (ucType.equals("HBB")) // Innsbruck Hungerburgbahn, via JSON API
|
// if (ucType.equals("HBB")) // Innsbruck Hungerburgbahn, via JSON API
|
||||||
|
|
|
@ -160,8 +160,6 @@ public class PlProvider extends AbstractHafasProvider
|
||||||
return 'R';
|
return 'R';
|
||||||
if ("ZR".equals(ucType)) // Bratislava, Slovakai
|
if ("ZR".equals(ucType)) // Bratislava, Slovakai
|
||||||
return 'R';
|
return 'R';
|
||||||
if ("P".equals(ucType)) // Kasbachtalbahn
|
|
||||||
return 'R';
|
|
||||||
if ("KTB".equals(ucType)) // Kandertalbahn
|
if ("KTB".equals(ucType)) // Kandertalbahn
|
||||||
return 'R';
|
return 'R';
|
||||||
if ("LEO".equals(ucType)) // Chiemgauer Lokalbahn
|
if ("LEO".equals(ucType)) // Chiemgauer Lokalbahn
|
||||||
|
|
|
@ -218,8 +218,6 @@ public class SncbProvider extends AbstractHafasProvider
|
||||||
|
|
||||||
if ("L".equals(ucType))
|
if ("L".equals(ucType))
|
||||||
return 'R';
|
return 'R';
|
||||||
if ("P".equals(ucType))
|
|
||||||
return 'R';
|
|
||||||
if ("CR".equals(ucType))
|
if ("CR".equals(ucType))
|
||||||
return 'R';
|
return 'R';
|
||||||
if ("ICT".equals(ucType)) // Brügge
|
if ("ICT".equals(ucType)) // Brügge
|
||||||
|
|
|
@ -168,8 +168,6 @@ public class ZvvProvider extends AbstractHafasProvider
|
||||||
|
|
||||||
if ("BERGBAHN".equals(ucType))
|
if ("BERGBAHN".equals(ucType))
|
||||||
return 'C';
|
return 'C';
|
||||||
if ("SEILBAHN".equals(ucType))
|
|
||||||
return 'C';
|
|
||||||
|
|
||||||
if ("UNB".equals(ucType))
|
if ("UNB".equals(ucType))
|
||||||
return '?';
|
return '?';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue