Commit graph

148 commits

Author SHA1 Message Date
Andreas Schildbach
00b9456431 Clean up AbstractHafasProvider.jsonGetStops() a bit. 2014-08-26 16:43:56 +02:00
Andreas Schildbach
9b1ece6cdf Lines. 2014-08-26 16:43:56 +02:00
Andreas Schildbach
06a9580602 Fix Netherlands, but sadly it hasn't got coordinates. 2014-08-15 00:18:14 +02:00
Andreas Schildbach
ae29ae3469 Make it easier to override the various query parameter building methods. 2014-08-15 00:12:57 +02:00
Andreas Schildbach
b50dc033fd Stricter structure check for Hafas station board. 2014-08-15 00:03:53 +02:00
Andreas Schildbach
0b5ee4ffb7 Rename XmlPullUtil.exit() to skipExit(). 2014-08-14 23:58:46 +02:00
Andreas Schildbach
a22deed168 Rename Hafas xmlQueryDepartures to xmlStationBoard. 2014-08-14 23:56:21 +02:00
Andreas Schildbach
0a7d5f82e9 Use custom number of departures (Hafas). 2014-08-06 23:20:16 +02:00
Andreas Schildbach
e61480cb44 Raise default number of departures to 100 (Hafas). 2014-08-06 23:08:13 +02:00
Andreas Schildbach
31b89f7ef8 Use common method for querying for nearby stations (Hafas). 2014-08-06 23:08:12 +02:00
Andreas Schildbach
fc91b8c7cb Use common method for querying departures (Hafas). 2014-08-06 23:08:12 +02:00
Andreas Schildbach
f1d0f26de0 Fix NPE when parsing platform (Hafas). 2014-08-06 23:08:12 +02:00
Andreas Schildbach
c0c033cfcd Fix timezone for time in departures query (EFA). Thanks to Simon Woker for catching this. 2014-07-30 00:29:01 +02:00
Andreas Schildbach
68989ec451 Sort suggested locations by hit quality. 2014-07-24 11:59:11 +02:00
Andreas Schildbach
e691e7c2fb Migrate time zone from abstract method to simple property. 2014-07-24 11:59:11 +02:00
Andreas Schildbach
addf81860e Parse CAR leg type in binary trips result (Hafas). 2014-07-12 00:17:34 +02:00
Andreas Schildbach
00b0f014ca Rename NetworkProvider.autocompleteStations() to .suggestLocations() and change return type to SuggestLocationsResult. 2014-07-09 16:42:14 +02:00
Andreas Schildbach
d38d6e499b Lines. 2014-07-07 23:08:17 +02:00
Andreas Schildbach
9bfa490c8e Remove support for unused MLcReq (Hafas). 2014-07-07 23:08:17 +02:00
Andreas Schildbach
7ddac5813d Migrate Copenhagen to auto-complete and query for nearby stations via getstops endpoint. 2014-07-07 23:08:01 +02:00
Andreas Schildbach
b265dd03cb Make auto-complete via getstops endpoint default (Hafas). 2014-07-07 23:08:00 +02:00
Andreas Schildbach
0dc08c103a Consolidate XmlPullUtil API for pure value tags. 2014-07-05 19:50:17 +02:00
Andreas Schildbach
cbf19ab96e When failing to parsing XML, always include the first part of the content into ParseException. 2014-07-05 19:50:12 +02:00
Andreas Schildbach
6c02caf0f4 Parse disruptions of binary trips result (Hafas). 2014-07-05 19:50:12 +02:00
Andreas Schildbach
a29fe3811e Parse bits for cancelled arrivals and departures. 2014-07-05 19:50:12 +02:00
Andreas Schildbach
4591eede54 Append first few characters of binary trips result (Hafas) to exception, for debug purposes. 2014-07-01 21:57:47 +02:00
Andreas Schildbach
8bcdc7aa14 Default to binary trips query for Hafas based providers. 2014-06-18 12:44:36 +02:00
Andreas Schildbach
fbaf03969c Strip leading zeros from station IDs when autocompleting (Hafas). 2014-06-18 12:36:55 +02:00
Andreas Schildbach
751338cbe1 Normalize station ids when passing them to Hafas or EFA APIs. 2014-06-18 12:36:55 +02:00
Andreas Schildbach
710d074c47 Detect several on demand lines. 2014-06-04 13:13:37 +02:00
Andreas Schildbach
1b987a6b72 Remove Location.toDebugString(), use toString() instead. 2014-05-15 15:25:41 +02:00
Andreas Schildbach
f2b0467f6b Parse requested station name for Hafas station boards. 2014-05-06 12:56:03 +02:00
Andreas Schildbach
d8f3dcaf6c Migrate location IDs from int to String. 2014-04-23 13:59:52 +02:00
Andreas Schildbach
28c0709a3c Remove remains of manual XML text skipping. 2014-02-06 14:13:10 +01:00
Andreas Schildbach
e1233210dd Fix departures for Stockholm. 2014-02-06 14:13:07 +01:00
Andreas Schildbach
d06ce813b4 Lines. 2014-02-06 14:13:01 +01:00
Andreas Schildbach
8f201d4b1f Raise default number of requested trips to 6 2014-01-20 17:28:29 +01:00
Andreas Schildbach
23489327b1 Update year of copyright 2014-01-12 00:44:10 +01:00
Andreas Schildbach
067fb7752c Get rid of XmlPullUtil.jumpToStartTag() 2014-01-12 00:44:10 +01:00
Andreas Schildbach
fbe11f222c Lines 2014-01-12 00:42:35 +01:00
Andreas Schildbach
f7f3c5080d Try skipping XML whitespaces more elegantly 2013-12-04 23:51:48 +01:00
Andreas Schildbach
34f44f174b Work around broken XML for Zurich 2013-12-04 23:51:48 +01:00
Andreas Schildbach
a5a4e47830 Check some XML tag names more strictly 2013-11-19 10:57:53 +01:00
Andreas Schildbach
032e78f54b Clean up XML request wrapping 2013-11-19 10:57:53 +01:00
Andreas Schildbach
229e88eaf4 Fix extxml handling 2013-11-19 10:57:53 +01:00
Andreas Schildbach
29dc8482f6 Remove accessId from AbstractHafasProvider constructor 2013-11-19 10:57:53 +01:00
Andreas Schildbach
51bedf8fd4 Fix type of Niederflur-Tram 2013-11-19 10:57:53 +01:00
Andreas Schildbach
abbd15b368 Fix time parsing when binary querying connections 2013-11-19 10:57:53 +01:00
Andreas Schildbach
85fe21a7cf Add more error codes when querying trips 2013-10-14 17:57:14 +02:00
Andreas Schildbach
5c2b555d0d Extract JSON nearby stations parameters to method 2013-10-13 10:53:30 +02:00