Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/MiddleBedHeightExporter.java @ 7999:3bdb9f99b4a0 facet-metadata
Add river elevation model to middle bed height csv export.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 03 Jul 2014 11:31:26 +0200 |
parents | 3c1a16755e61 |
children | 60cd665b1bd6 |
comparison
equal
deleted
inserted
replaced
7998:92c57cdbd94b | 7999:3bdb9f99b4a0 |
---|---|
72 public static final String CSV_META_CUR_ELEV_MODEL = | 72 public static final String CSV_META_CUR_ELEV_MODEL = |
73 "export.bedheight_middle.csv.header.cur.elevation"; | 73 "export.bedheight_middle.csv.header.cur.elevation"; |
74 | 74 |
75 public static final String CSV_META_OLD_ELEV_MODEL = | 75 public static final String CSV_META_OLD_ELEV_MODEL = |
76 "export.bedheight_middle.csv.header.old.elevation"; | 76 "export.bedheight_middle.csv.header.old.elevation"; |
77 | |
78 public static final String CSV_META_RIVER_ELEV_MODEL = | |
79 "export.bedheight_middle.csv.header.river.elevation"; | |
77 | 80 |
78 public static final String CSV_META_SOUNDING_WIDTH = | 81 public static final String CSV_META_SOUNDING_WIDTH = |
79 "export.bedheight_middle.csv.header.sounding.width"; | 82 "export.bedheight_middle.csv.header.sounding.width"; |
80 | 83 |
81 public static final String CSV_META_RANGE = | 84 public static final String CSV_META_RANGE = |
212 ": " + data.getLocationSystem()}); | 215 ": " + data.getLocationSystem()}); |
213 writer.writeNext(new String[]{"# " + msg(CSV_META_CUR_ELEV_MODEL) + | 216 writer.writeNext(new String[]{"# " + msg(CSV_META_CUR_ELEV_MODEL) + |
214 ": " + data.getCurElevationModel()}); | 217 ": " + data.getCurElevationModel()}); |
215 writer.writeNext(new String[]{"# " + msg(CSV_META_OLD_ELEV_MODEL) + | 218 writer.writeNext(new String[]{"# " + msg(CSV_META_OLD_ELEV_MODEL) + |
216 ": " + data.getOldElevationModel()}); | 219 ": " + data.getOldElevationModel()}); |
220 writer.writeNext(new String[]{"# " + msg(CSV_META_RIVER_ELEV_MODEL) + | |
221 ": " + data.getRiverElevationModel()}); | |
217 writer.writeNext(new String[]{"# " + msg(CSV_META_SOUNDING_WIDTH) + | 222 writer.writeNext(new String[]{"# " + msg(CSV_META_SOUNDING_WIDTH) + |
218 ": " + data.getSoundingWidth()}); | 223 ": " + data.getSoundingWidth()}); |
219 writer.writeNext(new String[]{"# " + msg(CSV_META_RANGE) + | 224 writer.writeNext(new String[]{"# " + msg(CSV_META_RANGE) + |
220 ": " + data.getStations().min() + " - " + data.getStations().max()}); | 225 ": " + data.getStations().min() + " - " + data.getStations().max()}); |
221 writer.writeNext(new String[]{"# " + msg(CSV_META_EVAL_BY) + | 226 writer.writeNext(new String[]{"# " + msg(CSV_META_EVAL_BY) + |