mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 16:29:51 +00:00
refactor pte to use int,int for coordinates
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@219 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
135b07f59e
commit
9af8c00ede
17 changed files with 69 additions and 106 deletions
|
@ -55,9 +55,9 @@ public class LinzProvider extends AbstractEfaProvider
|
|||
+ "?outputFormat=XML&mode=direct&coordOutputFormat=WGS84&mergeDep=1&useAllStops=1&name_dm=%2.6f:%2.6f:WGS84&type_dm=coord&itOptionsActive=1&ptOptionsActive=1&useProxFootSearch=1&excludedMeans=checkbox";
|
||||
|
||||
@Override
|
||||
protected String nearbyLatLonUri(final double lat, final double lon)
|
||||
protected String nearbyLatLonUri(final int lat, final int lon)
|
||||
{
|
||||
return String.format(NEARBY_LATLON_URI, lon, lat);
|
||||
return String.format(NEARBY_LATLON_URI, latLonToDouble(lon), latLonToDouble(lat));
|
||||
}
|
||||
|
||||
private static final String NEARBY_STATION_URI = API_BASE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue