OSDN Git Service

enhance: LAT、LONの表示桁数を揃えた
authorhayashi <hayashi.yuu@gmail.com>
Fri, 30 Jun 2017 07:24:54 +0000 (16:24 +0900)
committerhayashi <hayashi.yuu@gmail.com>
Fri, 30 Jun 2017 07:24:54 +0000 (16:24 +0900)
importPicture/src/osm/jp/gpx/ImportPicture.java

index e7baaa2..a3819f2 100644 (file)
@@ -496,7 +496,8 @@ public class ImportPicture extends Thread {
                 if (trkptT.speedStr != null) {\r
                        speedStr = new String(trkptT.speedStr);\r
                 }\r
-                System.out.print(String.format("%-14s|%-14s|", (new Double(latitude)).toString(), (new Double(longitude)).toString()));\r
+                //System.out.print(String.format("%-14s|%-14s|", (new Double(latitude)).toString(), (new Double(longitude)).toString()));\r
+                System.out.print(String.format("%14.10f|%14.10f|", latitude, longitude));\r
                 System.out.println(String.format("%8s|%6s|%6s|", eleStr, magvarStr, speedStr));\r
             }\r
 \r