mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 09:39:49 +00:00
don't show departures of nearby stations
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@111 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
a461b37236
commit
6ba8b1ed1b
1 changed files with 1 additions and 2 deletions
|
@ -350,7 +350,6 @@ public class SbbProvider implements NetworkProvider
|
||||||
public String departuresQueryUri(final String stationId, final int maxDepartures)
|
public String departuresQueryUri(final String stationId, final int maxDepartures)
|
||||||
{
|
{
|
||||||
final StringBuilder uri = new StringBuilder();
|
final StringBuilder uri = new StringBuilder();
|
||||||
|
|
||||||
uri.append("http://fahrplan.sbb.ch/bin/bhftafel.exe/dox");
|
uri.append("http://fahrplan.sbb.ch/bin/bhftafel.exe/dox");
|
||||||
uri.append("?start=");
|
uri.append("?start=");
|
||||||
if (maxDepartures != 0)
|
if (maxDepartures != 0)
|
||||||
|
@ -358,7 +357,7 @@ public class SbbProvider implements NetworkProvider
|
||||||
uri.append("&boardType=dep");
|
uri.append("&boardType=dep");
|
||||||
uri.append("&productsFilter=1111111111000000");
|
uri.append("&productsFilter=1111111111000000");
|
||||||
uri.append("&input=").append(stationId);
|
uri.append("&input=").append(stationId);
|
||||||
|
uri.append("&disableEquivs=yes"); // don't use nearby stations
|
||||||
return uri.toString();
|
return uri.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue