Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightData.java @ 8560:6fcf4717605f
Meta-data on sounding width associated to bed heights is redundant to real data associated to values.
author | "Tom Gottfried <tom@intevation.de>" |
---|---|
date | Mon, 16 Feb 2015 11:48:05 +0100 |
parents | 3a0522f1a532 |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
8559:6d8d7425a6b5 | 8560:6fcf4717605f |
---|---|
38 private TDoubleArrayList uncertainty; | 38 private TDoubleArrayList uncertainty; |
39 private TDoubleArrayList soundingWidth; | 39 private TDoubleArrayList soundingWidth; |
40 private TDoubleArrayList dataGap; | 40 private TDoubleArrayList dataGap; |
41 private String type; | 41 private String type; |
42 private String locationSystem; | 42 private String locationSystem; |
43 private Integer soundWidth; | |
44 private String oldElevationModel; | 43 private String oldElevationModel; |
45 private String curElevationModel; | 44 private String curElevationModel; |
46 private String riverElevationModel; | 45 private String riverElevationModel; |
47 private ArrayList empty; | 46 private ArrayList empty; |
48 | 47 |
49 | 48 |
50 protected MiddleBedHeightData(int year, int end, String eval, String desc, | 49 protected MiddleBedHeightData(int year, int end, String eval, String desc, |
51 String curElevationModel, String oldElevationModel, | 50 String curElevationModel, String oldElevationModel, |
52 String riverElevationModel, String type, | 51 String riverElevationModel, String type, |
53 String locationSystem, Integer soundingWidth) { | 52 String locationSystem) { |
54 this.year = year; | 53 this.year = year; |
55 this.evaluatedBy = eval; | 54 this.evaluatedBy = eval; |
56 this.description = desc; | 55 this.description = desc; |
57 this.curElevationModel = curElevationModel; | 56 this.curElevationModel = curElevationModel; |
58 this.oldElevationModel = oldElevationModel; | 57 this.oldElevationModel = oldElevationModel; |
59 this.riverElevationModel = riverElevationModel; | 58 this.riverElevationModel = riverElevationModel; |
60 this.type = type; | 59 this.type = type; |
61 this.locationSystem = locationSystem; | 60 this.locationSystem = locationSystem; |
62 this.soundWidth = soundingWidth; | |
63 | 61 |
64 this.km = new TDoubleArrayList(); | 62 this.km = new TDoubleArrayList(); |
65 this.middleHeight = new TDoubleArrayList(); | 63 this.middleHeight = new TDoubleArrayList(); |
66 this.uncertainty = new TDoubleArrayList(); | 64 this.uncertainty = new TDoubleArrayList(); |
67 this.soundingWidth = new TDoubleArrayList(); | 65 this.soundingWidth = new TDoubleArrayList(); |
110 | 108 |
111 public String getLocationSystem() { | 109 public String getLocationSystem() { |
112 return this.locationSystem; | 110 return this.locationSystem; |
113 } | 111 } |
114 | 112 |
115 public String getSoundingWidth() { | |
116 return this.soundWidth.toString(); | |
117 } | |
118 protected void addKM(double km) { | 113 protected void addKM(double km) { |
119 this.km.add(km); | 114 this.km.add(km); |
120 } | 115 } |
121 | 116 |
122 public double getKM(int idx) { | 117 public double getKM(int idx) { |