Changeset 31412 in osm for applications/editors
- Timestamp:
- 2015-07-27T15:06:30+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/actions/MapillaryImportAction.java
r31401 r31412 233 233 result += degMinSec[2].doubleValue() / 3600; // seconds 234 234 235 if ( ref == GpsTagConstants.GPS_TAG_GPS_LATITUDE_REF_VALUE_SOUTH236 || ref == GpsTagConstants.GPS_TAG_GPS_LONGITUDE_REF_VALUE_WEST) {235 if (GpsTagConstants.GPS_TAG_GPS_LATITUDE_REF_VALUE_SOUTH.equals(ref) 236 || GpsTagConstants.GPS_TAG_GPS_LONGITUDE_REF_VALUE_WEST.equals(ref)) { 237 237 result *= -1; 238 238 } -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/downloads/MapillarySequenceDownloadThread.java
r31409 r31412 45 45 * @param ex 46 46 * @param queryString 47 * @param manager48 47 */ 49 48 public MapillarySequenceDownloadThread(ExecutorService ex, -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/oauth/OAuthPortListener.java
r31401 r31412 3 3 import java.io.IOException; 4 4 import java.io.InputStreamReader; 5 import java.io.OutputStreamWriter; 5 6 import java.io.PrintWriter; 6 7 import java.net.BindException; … … 24 25 ServerSocket serverSocket = new ServerSocket(8763); 25 26 Socket clientSocket = serverSocket.accept(); 26 PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true); 27 Scanner in = new Scanner(new InputStreamReader( 28 clientSocket.getInputStream())); 27 PrintWriter out = new PrintWriter(new OutputStreamWriter(clientSocket.getOutputStream(), "UTF-8"), true); 28 Scanner in = new Scanner(new InputStreamReader(clientSocket.getInputStream(), "UTF-8")); 29 29 String s; 30 30 String accessToken = null;
Note:
See TracChangeset
for help on using the changeset viewer.