mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 23:08:50 +00:00
fixed departures in Basel
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@923 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
5eb81d40ae
commit
7db66d76d4
1 changed files with 6 additions and 1 deletions
|
@ -1215,13 +1215,18 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
final StringBuilder uri = new StringBuilder(apiBase);
|
||||
uri.append(departureMonitorEndpoint);
|
||||
appendCommonRequestParams(uri, "XML");
|
||||
uri.append("&type_dm=stop&useRealtime=1&mode=direct");
|
||||
uri.append("&type_dm=stop");
|
||||
uri.append("&name_dm=").append(stationId);
|
||||
uri.append("&useRealtime=1");
|
||||
uri.append("&mode=direct");
|
||||
uri.append("&ptOptionsActive=1");
|
||||
uri.append("&deleteAssignedStops_dm=").append(equivs ? '0' : '1');
|
||||
uri.append("&mergeDep=1"); // merge departures
|
||||
if (maxDepartures > 0)
|
||||
uri.append("&limit=").append(maxDepartures);
|
||||
|
||||
// System.out.println(uri);
|
||||
|
||||
InputStream is = null;
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue