mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 00:09:55 +00:00
parse bicycle carriage
This commit is contained in:
parent
8f5c96f661
commit
23d5223c03
2 changed files with 3 additions and 1 deletions
|
@ -1749,6 +1749,8 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
||||||
{
|
{
|
||||||
if (comment.startsWith("bf "))
|
if (comment.startsWith("bf "))
|
||||||
lineAttrs.add(Line.Attr.WHEEL_CHAIR_ACCESS);
|
lineAttrs.add(Line.Attr.WHEEL_CHAIR_ACCESS);
|
||||||
|
else if (comment.startsWith("FA ") || comment.startsWith("FB ") || comment.startsWith("FR "))
|
||||||
|
lineAttrs.add(Line.Attr.BICYCLE_CARRIAGE);
|
||||||
}
|
}
|
||||||
|
|
||||||
is.reset();
|
is.reset();
|
||||||
|
|
|
@ -27,7 +27,7 @@ public final class Line implements Serializable, Comparable<Line>
|
||||||
{
|
{
|
||||||
public enum Attr
|
public enum Attr
|
||||||
{
|
{
|
||||||
CIRCLE_CLOCKWISE, CIRCLE_ANTICLOCKWISE, SERVICE_REPLACEMENT, LINE_AIRPORT, WHEEL_CHAIR_ACCESS
|
CIRCLE_CLOCKWISE, CIRCLE_ANTICLOCKWISE, SERVICE_REPLACEMENT, LINE_AIRPORT, WHEEL_CHAIR_ACCESS, BICYCLE_CARRIAGE
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final long serialVersionUID = -5642533805998375070L;
|
private static final long serialVersionUID = -5642533805998375070L;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue