mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 23:38:48 +00:00
ignore irrelevant stations (forgot)
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@640 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
8b9ed1bcbc
commit
dbcef15b72
1 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,7 @@ public final class BahnProvider extends AbstractHafasProvider
|
|||
uri.append("&look_maxno=").append(maxStations != 0 ? maxStations : 200);
|
||||
uri.append("&look_maxdist=").append(maxDistance != 0 ? maxDistance : 5000);
|
||||
uri.append("&look_stopclass=").append(allProductsInt());
|
||||
uri.append("&look_nv=get_stopweight|yes");
|
||||
uri.append("&look_x=").append(location.lon);
|
||||
uri.append("&look_y=").append(location.lat);
|
||||
|
||||
|
@ -808,6 +809,8 @@ public final class BahnProvider extends AbstractHafasProvider
|
|||
return "T" + number;
|
||||
if (type.equals("STBU"))
|
||||
return "T" + number;
|
||||
if (type.equals("STRN"))
|
||||
return "T" + number;
|
||||
if (type.equals("STRNE"))
|
||||
return "T" + number;
|
||||
if (type.equals("STRKbahn"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue