mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 18:39:50 +00:00
always query 4 connections at a time for efa based providers
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@265 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
cbeda5172e
commit
f15eaab4f5
6 changed files with 17 additions and 10 deletions
|
@ -868,6 +868,13 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
|||
|
||||
protected abstract String commandLink(String sessionId, String command);
|
||||
|
||||
protected static final void appendCommonConnectionParams(final StringBuilder uri)
|
||||
{
|
||||
uri.append("&outputFormat=XML");
|
||||
uri.append("&coordOutputFormat=WGS84");
|
||||
uri.append("&calcNumberOfTrips=4");
|
||||
}
|
||||
|
||||
protected static final void appendLocation(final StringBuilder uri, final Location location, final String paramSuffix)
|
||||
{
|
||||
if (location.type == LocationType.ADDRESS && location.lat != 0 && location.lon != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue