OSDN Git Service

FIX: GPXの出力先が入力ディレクトリになっている。
authoryuuhayashi <hayashi.yuu@gmail.com>
Sun, 26 Jun 2016 02:13:19 +0000 (11:13 +0900)
committeryuuhayashi <hayashi.yuu@gmail.com>
Sun, 26 Jun 2016 02:13:19 +0000 (11:13 +0900)
importPicture/src/osm/jp/gpx/ImportPicture.java

index 96da752..849e281 100644 (file)
@@ -248,7 +248,7 @@ public class ImportPicture extends Thread {
                 String fileName = gpxFile.getName();\r
                 String iStr = fileName.substring(0, fileName.length() - 4);\r
 \r
-                File outputFile = new File(imgDir, iStr +"_.gpx");\r
+                File outputFile = new File(outDir, iStr +"_.gpx");\r
                 System.out.println(gpxFile.getAbsolutePath() + " => "+ outputFile.getAbsolutePath());\r
                 System.out.println("           時差: "+ (delta / 1000) +"(sec)");\r
                 System.out.println("    Target GPX: ["+ gpxFile.getAbsolutePath() +"]");\r