mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
fixed use of commas in WGS84 coordinates
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@363 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
7e35af5dbd
commit
82a9bf3380
3 changed files with 8 additions and 5 deletions
|
@ -24,6 +24,7 @@ import java.util.ArrayList;
|
|||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
@ -67,7 +68,7 @@ public class MvvProvider extends AbstractEfaProvider
|
|||
@Override
|
||||
protected String nearbyLatLonUri(final int lat, final int lon)
|
||||
{
|
||||
return String.format(NEARBY_LATLON_URI, latLonToDouble(lon), latLonToDouble(lat));
|
||||
return String.format(Locale.ENGLISH, NEARBY_LATLON_URI, latLonToDouble(lon), latLonToDouble(lat));
|
||||
}
|
||||
|
||||
private static final String NEARBY_STATION_URI = "http://efa.mvv-muenchen.de/ultralite/XML_DM_REQUEST"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue