Commit graph

2264 commits

Author SHA1 Message Date
Andreas Schildbach
38873cca19 LU: Fix buses in the product map. 2018-11-18 11:53:27 +01:00
Andreas Schildbach
63d8ed5e14 Update Guava to 27.0-android. 2018-11-17 22:38:03 +01:00
Andreas Schildbach
e3d8a7278f Update OkHttp to 3.12.0. 2018-11-17 22:37:59 +01:00
Andreas Schildbach
05d1a5826b OOEVV, SVV, VAO, VMOBIL, VOR, VVT: Increase API version to 1.15 to fix spurious PARSE errors when querying for trips.
Bring related LiveTests up to speed too.
2018-11-17 22:36:51 +01:00
Andreas Schildbach
874198b621 AbstractHafasClientInterfaceProvider: Split unidentified destination as if it were a station. 2018-11-17 17:26:48 +01:00
Andreas Schildbach
1d7006e837 ZVV: Fix regional trains in the product map. 2018-11-17 14:02:42 +01:00
Andreas Schildbach
03a3a387af ZVV: Fix splitting of station names. 2018-11-17 14:02:42 +01:00
Andreas Schildbach
28dd2c8033 ZVV: Replace some line numbers by the line name. 2018-11-17 14:00:22 +01:00
Andreas Schildbach
679915bed3 Line: Improve toString(). 2018-11-17 11:36:36 +01:00
Andreas Schildbach
bab9b0d39f LU: Migrate to Hafas client interface. 2018-11-17 11:36:27 +01:00
Andreas Schildbach
ec05c0a519 DSB: Migrate to Hafas client interface. 2018-11-16 22:06:12 +01:00
Andreas Schildbach
db7b4c8a0d AbstractHafasClientInterfaceProvider: Allow configuration of the endpoint. 2018-11-16 21:57:36 +01:00
Andreas Schildbach
389cd53bbf NVV: Migrate to Hafas client interface. 2018-11-16 20:55:55 +01:00
Andreas Schildbach
f1641c5fa3 OEBB: Migrate to Hafas client interface. 2018-11-16 19:04:17 +01:00
Andreas Schildbach
d0bcedc0e8 ZVV: Migrate to Hafas client interface. 2018-11-16 15:27:06 +01:00
Andreas Schildbach
52e6fc3aab AbstractHafasClientInterfaceProvider: Avoid infinite parseLoc() recursions. 2018-11-16 14:36:41 +01:00
Andreas Schildbach
2e8edc117d SNCB: Migrate to Hafas client interface. 2018-11-16 13:07:50 +01:00
Andreas Schildbach
87a327cedb VBB: Migrate to Hafas client interface. 2018-11-16 11:01:32 +01:00
Andreas Schildbach
a9ee06de7f SE: Migrate to Hafas client interface. 2018-11-16 10:47:23 +01:00
Andreas Schildbach
9c82857a67 LocationUtils: Add computeDistance() variant with Points. 2018-11-16 01:41:27 +01:00
Andreas Schildbach
e6474db222 Point: Store coordinate as pair of double, rather than 1E6 ints.
This makes the lat/lon member variables private and adds 1E6 variants for getters and the static constructor.
Also, Location now stores a Point for its coordinate, rather than 1E6 ints. The 1E6-based constructors have been removed.
2018-11-16 01:41:14 +01:00
Andreas Schildbach
a7f6abc4b9 AbstractHafasClientInterfaceProvider: Parse product numbers. 2018-11-15 19:05:24 +01:00
Andreas Schildbach
018d084b65 AbstractHafasProvider.intToProduct(): Don't throw 'ambiguous value' if values are in fact not ambiguous. 2018-11-15 19:05:16 +01:00
Andreas Schildbach
435df616fd TFI: 'Rail' line. 2018-11-15 19:05:03 +01:00
Andreas Schildbach
eda7d37b83 Add AVV (Aachen) provider based on Hafas client interface. 2018-11-14 09:37:38 +01:00
Andreas Schildbach
b025ca004e AbstractHafasClientInterfaceProvider: Handle when jsonTripSearchIdentify() is called with an already identified location. 2018-11-14 00:33:47 +01:00
Andreas Schildbach
97513c23f5 AbstractHafasClientInterfaceProvider: Fix handling of null products and walkSpeed in jsonTripSearch(). 2018-11-14 00:32:33 +01:00
Andreas Schildbach
26d1b8efa6 InvgProvider: Increase API version to 1.14. 2018-11-12 14:51:47 +01:00
Andreas Schildbach
e88a4983e6 AbstractHafasClientInterfaceProvider: Migrate requestChecksumSalt and requestMicMacSalt to byte arrays, to make them independent of base-encoding. 2018-11-12 14:51:41 +01:00
Andreas Schildbach
2843b9f33d AbstractHafasClientInterfaceProvider: When resolving locations when querying trips, only request 1 location. 2018-11-09 00:58:04 +01:00
Andreas Schildbach
601572ebde AbstractHafasClientInterfaceProvider: Parse server time. 2018-11-05 19:59:07 +01:00
Andreas Schildbach
2e5f16d3ef NetworkProvider: Rename Option to TripFlag. 2018-11-05 19:58:20 +01:00
Andreas Schildbach
0831d0f8e6 AbstractProviderLiveTest: Use TripOptions in queryTrips() and simplify live tests by passing null to use defaults where appropriate. 2018-11-05 19:57:59 +01:00
Ialokim
79ff93b80f NetworkProvider: queryTrips() now uses a TripOptions field for products, optimize, walkSpeed, accessibilty and options.
The old queryTrips() variant is now deprecated.
2018-11-05 19:57:33 +01:00
Andreas Schildbach
af94ee8724 AbstractEfaProvider: Fix AtomicReference/value-confusion bug when querying for nearby stations. 2018-11-05 16:24:58 +01:00
infanf
edb24dbac3 MVV: Update line colors and shapes. 2018-11-05 15:31:20 +01:00
Fabian N
d335c32788 VRN: Update line colors of buses in Kaiserslautern. 2018-11-05 15:26:19 +01:00
full-duplex
5deae3776d Negentwee: Improve date and time parsing and add timezone awareness.
Extend and use the ParserUtils functions instead and assume parsed time strings
are within the next 24 hours instead of leaving the date at 1970-01-01.

Use the Europe/Amsterdam timezone when formatting and parsing server dates.
2018-11-05 15:10:54 +01:00
Andreas Schildbach
025eba20f1 NRI: Remove provider for Norway. 2018-11-04 22:36:46 +01:00
Andreas Schildbach
a8ef6c365a DSB: 'Pågatog' line. 2018-11-02 20:23:11 +01:00
Andreas Schildbach
45eee58777 DSB: 'Fjernbus' line. 2018-11-02 20:23:04 +01:00
Andreas Schildbach
95580942a1 DSB: 'L' line. 2018-11-02 20:23:00 +01:00
Andreas Schildbach
5da1301bd3 DSB: 'FLEXBUS' line. 2018-11-01 16:42:50 +01:00
Andreas Schildbach
dc390eb5a4 INVG: Switch to Hafas Client Interface. 2018-10-31 16:02:34 +01:00
Andreas Schildbach
7e3670418d NS: 'Ferry' line. 2018-10-31 14:17:56 +01:00
Andreas Schildbach
4c8d4af1e1 AbstractProviderLiveTest: Limit result sets so that debug outputs don't get so huge. 2018-10-31 12:17:22 +01:00
Andreas Schildbach
9fbe7947ac AbstractEfaProvider: 'SWEG' line. 2018-10-31 12:15:31 +01:00
Andreas Schildbach
4dcaaea3ad VBN: Revert API version to 1.13. 2018-10-31 00:57:25 +01:00
Andreas Schildbach
16b21c3366 AbstractHafasClientInterfaceProvider: Distinct server product for HCI. 2018-10-30 11:03:44 +01:00
Andreas Schildbach
ddb011c9e4 AbstractHafasClientInterfaceProvider: Pass 'getPasslist' again for querying trips, otherwise intermediate stops could be missing. 2018-10-30 11:00:38 +01:00