mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 00:30:31 +00:00
switch to Dutch
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@750 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
283dbed0d1
commit
a55a4a74d4
1 changed files with 3 additions and 3 deletions
|
@ -108,7 +108,7 @@ public class SncbProvider extends AbstractHafasProvider
|
|||
|
||||
if (location.type == LocationType.STATION && location.hasId())
|
||||
{
|
||||
uri.append("stboard.exe/en?near=Anzeigen");
|
||||
uri.append("stboard.exe/nn?near=Zoek");
|
||||
uri.append("&distance=").append(maxDistance != 0 ? maxDistance / 1000 : 50);
|
||||
uri.append("&input=").append(location.id);
|
||||
|
||||
|
@ -123,7 +123,7 @@ public class SncbProvider extends AbstractHafasProvider
|
|||
public QueryDeparturesResult queryDepartures(final int stationId, final int maxDepartures, final boolean equivs) throws IOException
|
||||
{
|
||||
final StringBuilder uri = new StringBuilder();
|
||||
uri.append(API_BASE).append("stboard.exe/on");
|
||||
uri.append(API_BASE).append("stboard.exe/nn");
|
||||
uri.append("?productsFilter=").append(allProductsString());
|
||||
uri.append("&boardType=dep");
|
||||
uri.append("&disableEquivs=yes"); // don't use nearby stations
|
||||
|
@ -136,7 +136,7 @@ public class SncbProvider extends AbstractHafasProvider
|
|||
}
|
||||
|
||||
private static final String AUTOCOMPLETE_URI = API_BASE
|
||||
+ "ajax-getstop.exe/dny?start=1&tpl=suggest2json&REQ0JourneyStopsS0A=255&REQ0JourneyStopsB=12&S=%s?&js=true&";
|
||||
+ "ajax-getstop.exe/nny?start=1&tpl=suggest2json&REQ0JourneyStopsS0A=255&REQ0JourneyStopsB=12&S=%s?&js=true&";
|
||||
private static final String ENCODING = "ISO-8859-1";
|
||||
|
||||
public List<Location> autocompleteStations(final CharSequence constraint) throws IOException
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue