parse bicycle carriage

This commit is contained in:
Andreas Schildbach 2012-08-18 00:00:15 +02:00
parent 8f5c96f661
commit 23d5223c03
2 changed files with 3 additions and 1 deletions

View file

@ -1749,6 +1749,8 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
{
if (comment.startsWith("bf "))
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();

View file

@ -27,7 +27,7 @@ public final class Line implements Serializable, Comparable<Line>
{
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;