mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 20:18:50 +00:00
more lines
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@441 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
f5f5be44e8
commit
a4d8ebed19
1 changed files with 15 additions and 0 deletions
|
@ -53,6 +53,21 @@ public class SfProvider extends AbstractEfaProvider
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String parseLine(String mot, String name, String longName, String noTrainName)
|
||||
{
|
||||
if ("NORTHBOUND".equals(name))
|
||||
return "?" + name;
|
||||
else if ("SOUTHBOUND".equals(name))
|
||||
return "?" + name;
|
||||
else if ("EASTBOUND".equals(name))
|
||||
return "?" + name;
|
||||
else if ("WESTBOUND".equals(name))
|
||||
return "?" + name;
|
||||
else
|
||||
return super.parseLine(mot, name, longName, noTrainName);
|
||||
}
|
||||
|
||||
private static final String AUTOCOMPLETE_URI = API_BASE
|
||||
+ "XSLT_TRIP_REQUEST2?outputFormat=XML&coordOutputFormat=WGS84&locationServerActive=1&type_origin=any&name_origin=%s";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue