Torsten Grote
bc5cf15893
Line: Add a name to Line and use it with Navitia providers
...
Also add network to Navitia providers and take text color into account.
Due to a bug uncovered by adding the network to the line,
the code to retrieve departures had to be simplified.
It now does not do an extra network request to get the line destination.
2016-04-14 10:11:13 +02:00
Torsten Grote
2adf627e51
Navitia: Also suggest POI and administrative locations
...
The administrative areas are extremely useful when people search for a
suburb, but no stops have the suburbs name. They are currently mapped
to a POI location.
2016-04-13 16:37:19 +02:00
Andreas Schildbach
889a85b745
QueryTripsResult: Don't print status twice in toString().
2016-04-07 20:13:24 +02:00
Andreas Schildbach
04b0c2ea2c
Migrate Salzburg to use VAO.
2016-04-07 20:13:24 +02:00
Andreas Schildbach
907fc38dc4
Hafas: Handle JSON API error H9380 'Departure/Arrival/Intermediate or equivalent stations def'd more than once'.
2016-04-07 20:13:24 +02:00
Andreas Schildbach
b3965275fb
Hafas: ON_DEMAND and BUS means just ON_DEMAND.
2016-04-07 20:13:24 +02:00
Andreas Schildbach
57f12818da
EFA: Parse new <stateless>, <tco> and <alt> tags in mobile XML API.
2016-04-07 20:13:07 +02:00
Andreas Schildbach
cb61798228
EFA: Fix server detected as down sometimes when querying for suggested locations.
2016-04-07 20:13:07 +02:00
Andreas Schildbach
f4caea8dfd
EFA: Handle missing destinations in departure monitor.
2016-04-07 20:12:32 +02:00
Andreas Schildbach
6d7d967ef4
KVV: One more test.
2016-04-07 20:12:32 +02:00
Andreas Schildbach
e3337c202d
SH: Parse fares.
2016-04-07 20:12:31 +02:00
Andreas Schildbach
391fb06090
SH: Switch to JSON API.
2016-04-07 20:12:31 +02:00
Torsten Grote
47f31e99c2
Navitia: Properly create Locations with name and place.
...
Allow option to fix case of location names and simplify location parsing
code.
2016-04-07 20:12:31 +02:00
Chimo
a9d009e090
Add Quebec (Canada) provider.
2016-03-10 22:53:37 +01:00
Andreas Schildbach
ab4650586a
Navitia: Handle empty or non-present color attributes, use the product default colors in these cases.
2016-03-09 13:40:13 +01:00
Torsten Grote
14f02607f1
Navitia: Less network requests and no NPE when querying for departures.
...
The AbstractNavitiaProvider was making one network request per departure
it found, just to find the `Product`. This information is mostly
available in the second request it makes, so this should be taken when
available.
Also, in rare cases no destination can be found for a line. It should
not crash in these cases. This was also fixed within this commit.
2016-03-09 13:18:50 +01:00
Andreas Schildbach
ead34426c6
Navitia: If query returns 'not found' and JSON from error page could not be parsed, link the original exception.
2016-03-09 13:14:19 +01:00
Torsten Grote
bb76498c87
Navitia: Take the location priority into account when suggesting locations.
2016-03-08 14:47:52 +01:00
Andreas Schildbach
e227e254f1
Add a README.md to the parent project.
2016-03-08 11:58:20 +01:00
Torsten Grote
258f127fa7
Add a README.md file to the enabler project.
2016-03-08 11:53:27 +01:00
Andreas Schildbach
b1e89921a6
Style: Preconditions and unit tests for parseColor().
2016-02-29 10:38:30 +01:00
Andreas Schildbach
910b6705b8
BVG: Update API base.
2016-02-25 17:48:34 +01:00
Andreas Schildbach
7b92f6ed18
EFA: Ignore multiple <omcTaxi> tags when querying for trips.
2016-02-19 10:33:52 +01:00
Andreas Schildbach
7b38534d19
Europe: Fix umlauts in suggested locations.
2016-02-19 10:33:52 +01:00
Andreas Schildbach
8a99a256d7
Hafas: Fix crash when JSON trips query cannot scroll any more.
2016-02-19 10:33:52 +01:00
Mats Sjöberg
9410a4077a
Add HSL provider, covering Helsinki.
2016-02-13 21:56:16 +01:00
Chimo
e78e6bdf73
Add Ontario (Canada) provider.
2016-02-13 20:54:12 +01:00
Andreas Schildbach
81ce7cdc3d
Navitia: When querying for nearby locations, let the server choose the limit when maxLocations=0.
2016-02-10 19:21:00 +01:00
Torsten Grote
16c85476b1
Navitia: Fix departures query when using equiv=false
...
When querying departures from a stop_area with equiv=false
the query URI was wrong and returned no results.
This was especially problematic, because the suggestLocation query
returns only stop_areas at the moment.
2016-02-07 00:39:11 +01:00
Andreas Schildbach
bc7c0c8bcc
Configure continuous integration using Travis CI.
...
Builds will be visible at https://travis-ci.org/schildbach/public-transport-enabler
2016-02-05 01:53:08 +01:00
Andreas Schildbach
f2797a4042
VBN: Update styles.
2016-02-03 10:35:32 +01:00
Nicolas Derive
0230a1af85
Paris, French South West: Add missing regional (TER) and long-distance (Intercités) trains support.
2016-02-03 10:33:24 +01:00
Andreas Schildbach
5704ebc42c
Augsburg: Fix some tests.
2016-02-02 14:36:30 +01:00
Torsten Grote
13182d2fb7
Paris: Fix some tests.
2016-02-02 14:35:57 +01:00
Torsten Grote
4f9fb0cab2
Navitia: queryNearbyLocations() with distance of 0 now means "unlimited" (50km).
2016-01-31 19:39:42 +01:00
Torsten Grote
abad1694bc
Navitia: Increase hard-coded time-span for departures to 86400 (24h) default.
...
This was previously set to 1 hour causing very few or none departures to
be returned for stations with little traffic.
2016-01-31 19:28:42 +01:00
Torsten Grote
ac3d55cc21
Navitia: Only set "Authorization" HTTP header when required.
2016-01-31 19:26:23 +01:00
Andreas Schildbach
57eb4364b5
Hafas: Detect an on demand line.
2016-01-31 19:22:42 +01:00
Andreas Schildbach
aa028228c0
Hafas: Log error codes to debug.
2016-01-21 18:39:50 +01:00
Andreas Schildbach
52207db349
Hafas: Handle h2g error 2.
2016-01-21 18:39:49 +01:00
Andreas Schildbach
f4a360615f
EFA: Fix parsing of <motDivaParams />.
2016-01-10 00:12:48 +01:00
Andreas Schildbach
35c82481b5
EFA: Handle missing message code when querying for locations via JSON.
2016-01-10 00:12:48 +01:00
Andreas Schildbach
d12b1abd03
AVV: Update API base.
2016-01-10 00:11:47 +01:00
Andreas Schildbach
58ba3f7852
VMS: Fix some product not showing up.
2015-12-22 15:27:46 +01:00
Torsten Grote
5be14b0134
Navitia: Allow custom API base.
...
This is especially useful if you want to run a Navitia instance on your
own server.
2015-12-22 15:25:17 +01:00
Andreas Schildbach
51d92a61e1
Bayern: Parse some value tags as optional.
2015-12-21 12:11:55 +01:00
Andreas Schildbach
9e3565b986
Bayern: Speculative fix for routing problem.
2015-12-21 12:11:55 +01:00
Nicolas Derive
d107a905b2
Navitia: Fix some API request URIs.
2015-12-21 12:11:43 +01:00
Nicolas Derive
2a1bda6c4b
French South West: Add missing transportation system, as Tisseo network is also in fr-sw Navitia region.
2015-12-20 14:55:31 +01:00
Nicolas Derive
79159f854d
Navitia: Add support for fr-sw region (which covers South-West of France).
2015-12-19 22:06:54 +01:00