Commit graph

2083 commits

Author SHA1 Message Date
Andreas Schildbach
7d131a57f2 VRS: Use patterns for parsing positions from departures. 2016-11-08 10:43:31 +01:00
Andreas Schildbach
a844c5bc56 EFA: Parse serverID from <itdRequest>. 2016-11-07 23:08:44 +01:00
Andreas Schildbach
a932f98099 HttpClient: Get rid of useless pre-allocation of buffer. 2016-11-04 16:49:38 +01:00
Andreas Schildbach
f05eb5079f HttpClient: Double peek size. 2016-11-04 16:49:10 +01:00
Andreas Schildbach
6136ec7fb0 Lines. 2016-11-04 10:10:04 +01:00
Andreas Schildbach
e48a68a240 EFA: Silently ignore coordinates on other systems than WGS84. 2016-10-28 16:46:55 +02:00
Andreas Schildbach
40763ef6f6 EFA: If there is no <itdServingLine>, we assume the station ID is invalid. 2016-10-28 14:36:07 +02:00
Andreas Schildbach
63be2aeb10 Hafas: Parse JSON locations without coordinates. 2016-10-26 15:41:12 +02:00
Andreas Schildbach
71ee02b4d0 ZVV: Show long distance trains by default, too. Apparently you may use them at no additional charge. 2016-10-26 10:30:35 +02:00
Andreas Schildbach
0dabc3da75 VVT: Switch to JSON API. 2016-10-23 19:48:30 +02:00
Andreas Schildbach
7c30711dcf Lines. 2016-10-23 15:07:29 +02:00
Andreas Schildbach
580f0569e8 EFA: Fix detection of barrier free leg for KVV. 2016-10-23 13:13:32 +02:00
Andreas Schildbach
05219556c8 AbstractNavitiaProvider: Handle error id 'date_out_of_bounds'. 2016-10-22 17:30:02 +02:00
Andreas Schildbach
a60f8b049f AbstractEfaProvider: Simplify instantiation of destination locations. 2016-10-22 14:52:44 +02:00
Andreas Schildbach
c396ebe508 Location: Make sure type ANY cannot have ID. 2016-10-22 14:52:44 +02:00
Andreas Schildbach
80f0f30df5 SVV: Ressurect and switch to JSON API. 2016-10-19 20:39:09 +02:00
Andreas Schildbach
748d8423e5 OOEVV: New provider for Upper Austria. 2016-10-19 20:31:42 +02:00
Andreas Schildbach
fca9fa0c11 VMOBIL: Ressurect and switch to JSON API. 2016-10-19 20:31:41 +02:00
Andreas Schildbach
a59d696a42 VOR: Switch to JSON API. 2016-10-19 20:19:33 +02:00
Andreas Schildbach
04af7037ff STV: Update API base. Also switch endpoints to mobile. 2016-10-19 18:19:35 +02:00
Andreas Schildbach
459dd5743f Hafas: Support POIs for JSON trips query. 2016-10-12 12:57:02 +02:00
Andreas Schildbach
879de41cf7 Hafas: Support via for JSON trips query. 2016-10-12 11:13:43 +02:00
Andreas Schildbach
5daefdbc56 VRN: Update API base. 2016-10-10 17:38:46 +02:00
Andreas Schildbach
3e2aa33f6f HttpClient: Add null checks to getInputStream(). 2016-10-09 10:44:54 +02:00
Andreas Schildbach
b18ec864a9 VGN: Fix umlauts in suggested locations. 2016-10-09 10:44:16 +02:00
Andreas Schildbach
a81d23c215 VOR: Disable trip capability. 2016-10-08 12:32:57 +02:00
Andreas Schildbach
416b1af27c VAO: Send client type. 2016-10-08 12:32:18 +02:00
Andreas Schildbach
57b76eda0f Hafas: Handle h2g error 65535. 2016-09-25 19:53:32 +02:00
Andreas Schildbach
74d552d187 Migrate all HTTP calls to use OkHttp rather than URLConnection. 2016-09-25 19:53:31 +02:00
Andreas Schildbach
4c64746e75 Switch to Java 7.
Notes regarding Android compatibility:
- The 'try-with-resources' language feature needs API level 19, so don't use it.
  All other language features can be used back to API level 8.
- The JDK 1.7 API still isn't fully implemented, so better stick with 1.6 for now.
2016-09-25 19:53:31 +02:00
Andreas Schildbach
1c2f21ac9f Add 'Markt' to names that need places in their unique form. 2016-09-24 12:07:44 +02:00
Andreas Schildbach
670a63e0f9 Rename FrenchSouthWestProvider to FranceSouthWestProvider and NetworkId.FRENCHSOUTHWEST to NetworkId.FRANCESOUTHWEST.
This is done to be consistent with the other France providers.
2016-09-23 19:11:37 +02:00
Patrick Kanzler
c6cb7bcfef Navitia: Add support for fr-nw region (North-West of France). 2016-09-23 19:05:31 +02:00
Andreas Schildbach
ca0030a33c Lines. 2016-09-23 13:00:23 +02:00
Andreas Schildbach
9b9b85aa66 Sweden: Update API base to HTTPS. 2016-09-20 22:25:35 +02:00
Andreas Schildbach
00102364fe Wien: Update API base to HTTPS. 2016-09-20 22:25:35 +02:00
Andreas Schildbach
0518453fb1 Navitia: Update API base to HTTPS. 2016-09-20 22:25:35 +02:00
Andreas Schildbach
931dafb628 Switch to modern code format. Organize imports. No functional changes.
Java sources use Eclipse 4.5 'Java Conventions' with indentation changed to 4 spaces only per level.
2016-09-08 18:26:01 +02:00
Andreas Schildbach
db59817a05 VBN: Update line styles. 2016-09-05 23:32:51 +02:00
Anthony Chaput
63176e9e01 Navitia: Add support for fr-se region (South-East of France). 2016-08-30 14:06:36 +02:00
Andreas Schildbach
7c79f55682 Lines. 2016-08-30 09:02:47 +02:00
Andreas Schildbach
0c0e1ad8a7 VBB: Don't send clientType. 2016-08-30 08:55:39 +02:00
Andreas Schildbach
fcf97a7399 Hafas: Parse negative delays on XML station board. 2016-08-30 08:55:34 +02:00
karottenbaum
f2327c9a50 VRR: Update line styles.
Changed the provider abbreviations in the styles to reflect changes at VRR.
Mülheim styles not working yet as there is no abbreviation present in the EFA reply.
Due to these changes in replies, night buses are now also styled (Düsseldorf, Dortmund, Krefeld, Essen, Duisburg, Oberhausen, Neuss, Remscheid, Solingen, and Wuppertal.)
2016-08-30 08:54:54 +02:00
Stéphane Guillou
0addc8fec1 Navitia: Add support for fr-ne region (which covers North-East of France). 2016-08-20 21:09:08 +02:00
Andreas Schildbach
2f40556e5a RTA Chicago. 2016-07-31 14:23:38 +02:00
Andreas Schildbach
de6ae1a025 Navitia: Handle physical mode OTHER. 2016-07-31 14:20:41 +02:00
Andreas Schildbach
ab2f62a0db EFA: Handle empty <de> element in mobile locations query. 2016-07-31 14:20:21 +02:00
Andreas Schildbach
b2a1f94e55 EFA: Ignore new <optval>, <gix> and <prid> elements in mobile XML API. 2016-07-31 14:20:16 +02:00
Andreas Schildbach
4b6751931b VAO: Update API base to HTTPS. 2016-07-21 22:29:38 +02:00