mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 01:19:49 +00:00
lines for Austria
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@239 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
ecb506c892
commit
6ca75b99e9
2 changed files with 7 additions and 1 deletions
|
@ -202,6 +202,8 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
|||
return 'B';
|
||||
if (ucType.equals("SEV")) // Schienen-Ersatz-Verkehr
|
||||
return 'B';
|
||||
if (ucType.equals("BUSSEV")) // Schienen-Ersatz-Verkehr
|
||||
return 'B';
|
||||
if (ucType.equals("FB")) // Luxemburg-Saarbrücken
|
||||
return 'B';
|
||||
|
||||
|
|
|
@ -522,7 +522,7 @@ public class OebbProvider extends AbstractHafasProvider
|
|||
{
|
||||
final Date time = ParserUtils.joinDateTime(ParserUtils.parseDate(departure.getString("da")), ParserUtils.parseTime(departure
|
||||
.getString("ti")));
|
||||
final String line = normalizeLine(departure.getString("pr"));
|
||||
final String line = normalizeLine(ParserUtils.resolveEntities(departure.getString("pr")));
|
||||
final String destination = ParserUtils.resolveEntities(departure.getString("st"));
|
||||
String position = departure.optString("tr");
|
||||
if (position != null)
|
||||
|
@ -813,6 +813,8 @@ public class OebbProvider extends AbstractHafasProvider
|
|||
return 'F';
|
||||
if (ucType.equals("SCHIFF")) // via JSON API
|
||||
return 'F';
|
||||
if (ucType.equals("F")) // Fähre
|
||||
return 'F';
|
||||
|
||||
if (ucType.equals("SB")) // Connections only?
|
||||
return 'C';
|
||||
|
@ -820,6 +822,8 @@ public class OebbProvider extends AbstractHafasProvider
|
|||
return 'C';
|
||||
if (ucType.equals("SEILBAHN")) // via JSON API
|
||||
return 'C';
|
||||
if (ucType.equals("SSB")) // Graz Schlossbergbahn
|
||||
return 'C';
|
||||
|
||||
if (ucType.equals("FLUG")) // via JSON API
|
||||
return 'I';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue