Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/math/QueriedXYDepth.java @ 801:d766fe2d917a
More javadoc.
gnv-artifacts/trunk@883 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 06 Apr 2010 16:53:43 +0000 |
parents | c4156275c1e1 |
children | bb7afd783321 |
comparison
equal
deleted
inserted
replaced
800:db5b04ecb426 | 801:d766fe2d917a |
---|---|
59 | 59 |
60 RasterObject ro = getRasterObject(coordinate); | 60 RasterObject ro = getRasterObject(coordinate); |
61 | 61 |
62 if (ro == null) { | 62 if (ro == null) { |
63 try { | 63 try { |
64 String[] filterValues = new String[] { WKTUtils.toWKT(coordinate) }; | 64 String[] filterValues = |
65 Collection<Result> result = queryExecutor.executeQuery(this.queryID,filterValues); | 65 new String[] { WKTUtils.toWKT(coordinate) }; |
66 Collection<Result> result = queryExecutor.executeQuery( | |
67 queryID, filterValues); | |
66 for (Result row: result) { | 68 for (Result row: result) { |
67 if ((ro = (RasterObject)row.getObject(0)) != null) { | 69 if ((ro = (RasterObject)row.getObject(0)) != null) { |
68 rasterData.add(new SoftReference<RasterObject>(last = ro)); | 70 rasterData.add( |
71 new SoftReference<RasterObject>(last = ro)); | |
69 } | 72 } |
70 break; | 73 break; |
71 } | 74 } |
72 } catch (QueryException e) { | 75 } catch (QueryException e) { |
73 log.error(e, e); | 76 log.error(e, e); |