mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 16:40:30 +00:00
extract some common efa parameters
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@484 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
1de712233d
commit
484146768c
32 changed files with 65 additions and 157 deletions
|
@ -76,11 +76,8 @@ public class VvmProvider extends AbstractEfaProvider
|
|||
{
|
||||
final StringBuilder uri = new StringBuilder();
|
||||
uri.append(API_BASE).append("XSLT_DM_REQUEST");
|
||||
uri.append("?outputFormat=XML");
|
||||
uri.append("&coordOutputFormat=WGS84");
|
||||
uri.append("&type_dm=stop");
|
||||
uri.append("&name_dm=").append(stationId);
|
||||
uri.append("&mode=direct");
|
||||
uri.append("?type_dm=stop");
|
||||
uri.append("&name_dm=").append(ParserUtils.urlEncode(stationId));
|
||||
uri.append("&useRealtime=1");
|
||||
return uri.toString();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue