diff --git a/importPicture/src/osm/jp/gpx/ImportPicture.java b/importPicture/src/osm/jp/gpx/ImportPicture.java index c3fa5fc..2e51d7c 100644 --- a/importPicture/src/osm/jp/gpx/ImportPicture.java +++ b/importPicture/src/osm/jp/gpx/ImportPicture.java @@ -267,8 +267,12 @@ Node gpx; try { - - outDir = new File(outDir, imgDir.getName()); + if (params.getProperty(AppParameters.IMG_OUTPUT).equals(Boolean.toString(true))) { + outDir = new File(outDir, imgDir.getName()); + } + else { + outDir = gpxDir; + } for (File gpxFile : this.gpxFiles) { String fileName = gpxFile.getName();