OSDN Git Service

enhance: LAT、LONの表示桁数を揃えた
[importpicture/importpicture.git] / 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