diff --git a/geotiff/src/main/java/org/orekit/rugged/geotiff/AsterMessages.java b/geotiff/src/main/java/org/orekit/rugged/geotiff/AsterMessages.java index f7f547adc954c2f7da5c2327c0ac0891e395784d..aac358bd622793eff3a156f9e3f51ff7c6d19504 100644 --- a/geotiff/src/main/java/org/orekit/rugged/geotiff/AsterMessages.java +++ b/geotiff/src/main/java/org/orekit/rugged/geotiff/AsterMessages.java @@ -50,7 +50,7 @@ public enum AsterMessages implements Localizable { // CHECKSTYLE: stop JavadocVariable check - NO_DEM_DATA_FOR_POINT("no Digital Elevation Model data for point {0}, {1}"), + NO_DEM_DATA_FOR_POINT("no Digital Elevation Model data for point {0}, {1} (should be in file {2})"), ERROR_PARSING_FILE("error parsing file {0}: {1}"), MISSING_PIXEL_SCALE("missing pixel scale GeoTIFF tag in file {0}"), MISSING_TIE_POINT("missing tie point GeoTIFF tag in file {0}"), diff --git a/geotiff/src/main/java/org/orekit/rugged/geotiff/AsterTileUpdater.java b/geotiff/src/main/java/org/orekit/rugged/geotiff/AsterTileUpdater.java index 9be8ec6ee4b06d8560640b3da0a2a570a301ea21..44602a04238ad85cc01e24beb8a160296fd189dd 100644 --- a/geotiff/src/main/java/org/orekit/rugged/geotiff/AsterTileUpdater.java +++ b/geotiff/src/main/java/org/orekit/rugged/geotiff/AsterTileUpdater.java @@ -68,7 +68,8 @@ public class AsterTileUpdater implements TileUpdater { final File file = new File(directory, name); if (!file.exists()) { throw new RuggedException(AsterMessages.NO_DEM_DATA_FOR_POINT, - FastMath.toDegrees(latitude), FastMath.toDegrees(longitude)); + FastMath.toDegrees(latitude), FastMath.toDegrees(longitude), + name); } final ZipFile zipFile = new ZipFile(file); diff --git a/geotiff/src/main/resources/assets/org/orekit/rugged/AsterMessages_en.utf8 b/geotiff/src/main/resources/assets/org/orekit/rugged/AsterMessages_en.utf8 index 94d1e8bdc2c833dfebd641b4459069c8b6163a7b..e19c356af3e4c16adda05e2f48802ac9c86610a5 100644 --- a/geotiff/src/main/resources/assets/org/orekit/rugged/AsterMessages_en.utf8 +++ b/geotiff/src/main/resources/assets/org/orekit/rugged/AsterMessages_en.utf8 @@ -1,5 +1,5 @@ -# no Digital Elevation Model data for point {0}, {1} -NO_DEM_DATA_FOR_POINT = no Digital Elevation Model data for point {0}, {1} +# no Digital Elevation Model data for point {0}, {1} (should be in file {2}) +NO_DEM_DATA_FOR_POINT = no Digital Elevation Model data for point {0}, {1} (should be in file {2}) # error parsing file {0}: {1} ERROR_PARSING_FILE = error parsing file {0}: {1} diff --git a/geotiff/src/main/resources/assets/org/orekit/rugged/AsterMessages_fr.utf8 b/geotiff/src/main/resources/assets/org/orekit/rugged/AsterMessages_fr.utf8 index c5b4ec13a7106a6d25beb5b0eb9a33389edb1b85..7b7fea5a1f2d61086c2e1275ab6637874ad29031 100644 --- a/geotiff/src/main/resources/assets/org/orekit/rugged/AsterMessages_fr.utf8 +++ b/geotiff/src/main/resources/assets/org/orekit/rugged/AsterMessages_fr.utf8 @@ -1,5 +1,5 @@ -# no Digital Elevation Model data for point {0}, {1} -NO_DEM_DATA_FOR_POINT = pas de données de Modèle Numérique de Terrain pour le point {0}, {1} +# no Digital Elevation Model data for point {0}, {1} (should be in file {2}) +NO_DEM_DATA_FOR_POINT = pas de données de Modèle Numérique de Terrain pour le point {0}, {1} (elles devraient être dans le fichier {2}) # error parsing file {0}: {1} ERROR_PARSING_FILE = erreur lors de l''analyse du fichier {0} : {1}