mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 00:50:31 +00:00
Parse CAR leg type in binary trips result (Hafas).
This commit is contained in:
parent
c39a49eed2
commit
addf81860e
1 changed files with 1 additions and 1 deletions
|
@ -1857,7 +1857,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
individualType = Trip.Individual.Type.WALK;
|
||||
else if ("BIKE".equals(routingType))
|
||||
individualType = Trip.Individual.Type.BIKE;
|
||||
else if ("P+R".equals(routingType))
|
||||
else if ("CAR".equals(routingType) || "P+R".equals(routingType))
|
||||
individualType = Trip.Individual.Type.CAR;
|
||||
else
|
||||
throw new IllegalStateException("unknown routingType: " + routingType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue