Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontal/HorizontalProfileMeshCrossOutputState.java @ 361:aec85d00d82c
Added code to do 2D interpolations along a digitied track on the map.
Not connected to the transition model, yet.
gnv-artifacts/trunk@435 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 15 Dec 2009 22:25:53 +0000 |
parents | 25e4724aa504 |
children | 1ab23cd66870 |
comparison
equal
deleted
inserted
replaced
360:ee760729f6b8 | 361:aec85d00d82c |
---|---|
191 String[] filterValues = this.generateFilterValuesFromInputData(); | 191 String[] filterValues = this.generateFilterValuesFromInputData(); |
192 String[] addedFilterValues = new String[filterValues.length+1]; | 192 String[] addedFilterValues = new String[filterValues.length+1]; |
193 System.arraycopy(filterValues, 0, addedFilterValues, 0, filterValues.length); | 193 System.arraycopy(filterValues, 0, addedFilterValues, 0, filterValues.length); |
194 addedFilterValues[filterValues.length] = additionWhere; | 194 addedFilterValues[filterValues.length] = additionWhere; |
195 | 195 |
196 result = queryExecutor.executeQuery(this.queryID, | 196 result = process( |
197 addedFilterValues); | 197 queryExecutor.executeQuery( |
198 this.queryID, | |
199 addedFilterValues)); | |
198 | 200 |
199 } catch (ParseException e) { | 201 } catch (ParseException e) { |
200 log.error(e,e); | 202 log.error(e,e); |
201 }catch (QueryException e) { | 203 }catch (QueryException e) { |
202 log.error(e,e); | 204 log.error(e,e); |
211 | 213 |
212 } | 214 } |
213 } | 215 } |
214 return result; | 216 return result; |
215 } | 217 } |
216 | 218 |
217 | 219 protected Collection<Result> process(Collection<Result> input) { |
218 | 220 // TODO: split by additional parameters, interpolate the |
221 // values, and create a new dummy result set. | |
222 | |
223 return input; | |
224 | |
225 } | |
219 } | 226 } |