mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
calculate representations of 'all products' in superclass
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@615 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
3097a52493
commit
7dfdd26481
17 changed files with 67 additions and 49 deletions
|
@ -48,7 +48,7 @@ public class SbbProvider extends AbstractHafasProvider
|
|||
|
||||
public SbbProvider(final String accessId)
|
||||
{
|
||||
super(API_URI, accessId);
|
||||
super(API_URI, 10, accessId);
|
||||
}
|
||||
|
||||
public NetworkId id()
|
||||
|
@ -86,7 +86,7 @@ public class SbbProvider extends AbstractHafasProvider
|
|||
if (maxDepartures != 0)
|
||||
uri.append("&maxJourneys=").append(maxDepartures);
|
||||
uri.append("&boardType=dep");
|
||||
uri.append("&productsFilter=1111111111000000");
|
||||
uri.append("&productsFilter=").append(allProductsString());
|
||||
uri.append("&input=").append(stationId);
|
||||
uri.append("&disableEquivs=yes"); // don't use nearby stations
|
||||
return uri.toString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue