mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +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
|
@ -47,7 +47,7 @@ public class SncbProvider extends AbstractHafasProvider
|
|||
|
||||
public SncbProvider()
|
||||
{
|
||||
super(API_URI, null);
|
||||
super(API_URI, 16, null);
|
||||
}
|
||||
|
||||
public NetworkId id()
|
||||
|
@ -90,7 +90,7 @@ public class SncbProvider extends AbstractHafasProvider
|
|||
uri.append("?input=").append(stationId);
|
||||
uri.append("&boardType=dep");
|
||||
uri.append("&maxJourneys=").append(maxDepartures != 0 ? maxDepartures : 50); // maximum taken from SNCB site
|
||||
uri.append("&productsFilter=1:1111111111111111");
|
||||
uri.append("&productsFilter=").append(allProductsString());
|
||||
uri.append("&disableEquivs=yes"); // don't use nearby stations
|
||||
uri.append("&start=yes");
|
||||
return uri.toString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue