mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-11 00:08:49 +00:00
line attributes for airport lines of Berlin
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@899 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
0607164c57
commit
26b2281fbd
2 changed files with 10 additions and 3 deletions
|
@ -898,11 +898,18 @@ public final class BvgProvider extends AbstractHafasProvider
|
||||||
if ("S42".equals(line))
|
if ("S42".equals(line))
|
||||||
return newLine("SS42", Attr.CIRCLE_ANTICLOCKWISE);
|
return newLine("SS42", Attr.CIRCLE_ANTICLOCKWISE);
|
||||||
|
|
||||||
if ("BS41".equals(line))
|
if ("Bus S41".equals(line))
|
||||||
return newLine("BS41", Attr.SERVICE_REPLACEMENT, Attr.CIRCLE_CLOCKWISE);
|
return newLine("BS41", Attr.SERVICE_REPLACEMENT, Attr.CIRCLE_CLOCKWISE);
|
||||||
if ("BS42".equals(line))
|
if ("Bus S42".equals(line))
|
||||||
return newLine("BS42", Attr.SERVICE_REPLACEMENT, Attr.CIRCLE_ANTICLOCKWISE);
|
return newLine("BS42", Attr.SERVICE_REPLACEMENT, Attr.CIRCLE_ANTICLOCKWISE);
|
||||||
|
|
||||||
|
if ("Bus TXL".equals(line))
|
||||||
|
return newLine("BTXL", Attr.LINE_AIRPORT);
|
||||||
|
if ("S9".equals(line))
|
||||||
|
return newLine("SS9", Attr.LINE_AIRPORT);
|
||||||
|
if ("S45".equals(line))
|
||||||
|
return newLine("SS45", Attr.LINE_AIRPORT);
|
||||||
|
|
||||||
final Matcher mRegional = P_LINE_REGIONAL.matcher(line);
|
final Matcher mRegional = P_LINE_REGIONAL.matcher(line);
|
||||||
if (mRegional.matches())
|
if (mRegional.matches())
|
||||||
return newLine('R' + mRegional.group(1));
|
return newLine('R' + mRegional.group(1));
|
||||||
|
|
|
@ -27,7 +27,7 @@ public final class Line implements Serializable, Comparable<Line>
|
||||||
{
|
{
|
||||||
public enum Attr
|
public enum Attr
|
||||||
{
|
{
|
||||||
CIRCLE_CLOCKWISE, CIRCLE_ANTICLOCKWISE, SERVICE_REPLACEMENT, WHEEL_CHAIR_ACCESS
|
CIRCLE_CLOCKWISE, CIRCLE_ANTICLOCKWISE, SERVICE_REPLACEMENT, LINE_AIRPORT, WHEEL_CHAIR_ACCESS
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final long serialVersionUID = -5642533805998375070L;
|
private static final long serialVersionUID = -5642533805998375070L;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue