Mercurial > dive4elements > gnv-client
changeset 745:d194939ecbaf
Improvement: Values of Type Geometry which are Points will be prepared as Regions for DB-Query.
gnv-artifacts/trunk@785 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 16 Mar 2010 12:53:37 +0000 |
parents | 6290ab85782b |
children | b81f6f896668 |
files | gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/state/StateBase.java |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog Tue Mar 16 10:29:16 2010 +0000 +++ b/gnv-artifacts/ChangeLog Tue Mar 16 12:53:37 2010 +0000 @@ -1,3 +1,9 @@ +2010-03-16 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/state/StateBase.java (generateFilterValuesFromInputData): + Improvement: Values of Type Geometry which are Points will be + prepared as Regions for DB-Query. + 2010-03-16 Ingo Weinzierl <ingo.weinzierl@intevation.de> Issue199
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/StateBase.java Tue Mar 16 10:29:16 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/StateBase.java Tue Mar 16 12:53:37 2010 +0000 @@ -468,7 +468,7 @@ } else if (type.equalsIgnoreCase("date")) { requestValue = this .prepareInputData4DateDBQuery(requestValue); - } else if (type.equalsIgnoreCase("coordinate")){ + } else if (type.equalsIgnoreCase("coordinate") || (type.equalsIgnoreCase("geometry") && requestValue.toLowerCase().startsWith("point"))){ requestValue = this .prepareInputData4RegionDBQuery(requestValue); }