# HG changeset patch # User Ingo Weinzierl # Date 1271853284 0 # Node ID 39d06d01825a00a002afc87351042d2becadc8f1 # Parent 38c8cc586a85952c2504243c2eac1e3e3b7d67a9 Finalized the odv export of a 'Profilschnitt' (issue217). gnv-artifacts/trunk@966 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 38c8cc586a85 -r 39d06d01825a gnv-artifacts/ChangeLog --- a/gnv-artifacts/ChangeLog Wed Apr 21 10:35:04 2010 +0000 +++ b/gnv-artifacts/ChangeLog Wed Apr 21 12:34:44 2010 +0000 @@ -1,3 +1,14 @@ +2010-04-21 Ingo Weinzierl + + Issue217 + + * src/main/java/de/intevation/gnv/exports/VerticalCrossODVExport.java: The + first column (cruise) in an odv export is filled with a static "GNVExport" + string. The second column (station) is filled with a generated string + "Station" concartinated with the index of the current coordinate + (e.g. "Station_1"). Both columns are written to odv only if the coordinate + changes - otherwise these strings are replaced by tabs. + 2010-04-21 Ingo Weinzierl Issue233 diff -r 38c8cc586a85 -r 39d06d01825a gnv-artifacts/src/main/java/de/intevation/gnv/exports/VerticalCrossODVExport.java --- a/gnv-artifacts/src/main/java/de/intevation/gnv/exports/VerticalCrossODVExport.java Wed Apr 21 10:35:04 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/exports/VerticalCrossODVExport.java Wed Apr 21 12:34:44 2010 +0000 @@ -161,9 +161,8 @@ String[] row = new String[10]; for (int i = 0; i < width; i++) { - row[0] = "Station_" + i; - //row[0] = ""; - row[1] = ""; + row[0] = "GNVExport"; + row[1] = "Station_" + i; row[2] = "*"; row[3] = datetime; row[4] = Double.toString(coordinates[i].x); @@ -173,7 +172,6 @@ for (int j = 0; j < height; j++) { if (j == 1) { row[0] = ""; - //row[0] = "Station_"; row[1] = ""; row[2] = ""; row[3] = "";