# HG changeset patch # User Tim Englich # Date 1259069376 0 # Node ID e7f1c79bf9cdb666502d758911e416e7d2b191c8 # Parent 91c37bf28c0e1f27ab103d32c04754e05604c819 Bugfix for issue91, wrong depth will be drawn in TimeseriesCharts in Meshes gnv-artifacts/trunk@364 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 91c37bf28c0e -r e7f1c79bf9cd gnv-artifacts/ChangeLog --- a/gnv-artifacts/ChangeLog Mon Nov 23 17:20:14 2009 +0000 +++ b/gnv-artifacts/ChangeLog Tue Nov 24 13:29:36 2009 +0000 @@ -1,3 +1,19 @@ +2009-11-24 Tim Englich + + * src/test/java/de/intevation/gnv/artifacts/TestCallContext.java (TestCallContext): + Removed Compilationerrors that were triggert by API-Changes in + Module Artifact-Database. + + * doc/conf/queries.properties, + doc/conf/products/timeseries/conf_mesh.xml: + Removed Meshpoint from SQL-Query because the same value will be + insert by using the depthid. + depthid on layer 1 = featureid + In the old configuration only Charts on Layer 1 were drawn. + issue91 + + + 2009-11-23 Ingo Weinzierl * src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java: diff -r 91c37bf28c0e -r e7f1c79bf9cd gnv-artifacts/doc/conf/products/timeseries/conf_mesh.xml --- a/gnv-artifacts/doc/conf/products/timeseries/conf_mesh.xml Mon Nov 23 17:20:14 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/timeseries/conf_mesh.xml Tue Nov 24 13:29:36 2009 +0000 @@ -130,8 +130,8 @@ timeseries_mesh_chart_data timeseries_mesh_odv_data - - + + diff -r 91c37bf28c0e -r e7f1c79bf9cd gnv-artifacts/doc/conf/queries.properties --- a/gnv-artifacts/doc/conf/queries.properties Mon Nov 23 17:20:14 2009 +0000 +++ b/gnv-artifacts/doc/conf/queries.properties Tue Nov 24 13:29:36 2009 +0000 @@ -178,7 +178,7 @@ where (m.OBJECTID = ? AND \ msv.PARTID >= m.PARTIDMIN AND \ msv.PARTID <= m.PARTIDMAX ) AND \ - msv.FEATUREID in ( ? ) AND \ + msv.FEATUREID = mp.FEATUREID AND \ msv.PARAMETERID in ( ? ) AND \ mp.FEATUREID in ( ? ) AND \ msv.TIMEVALUE >= ? AND \ @@ -209,7 +209,7 @@ m.SOURCEID = SI.SOURCEID AND \ ML.MESHID = MEDIAN.MESHPOINT.MESHID AND \ ML.KPOSITION = MEDIAN.MESHPOINT.KPOSITION AND \ - msv.FEATUREID in ( ? ) AND \ + msv.FEATUREID = MEDIAN.MESHPOINT.FEATUREID AND \ msv.PARAMETERID in (? ) AND \ MEDIAN.MESHPOINT.FEATUREID in ( ? ) AND \ msv.TIMEVALUE >= ? AND \ diff -r 91c37bf28c0e -r e7f1c79bf9cd gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestCallContext.java --- a/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestCallContext.java Mon Nov 23 17:20:14 2009 +0000 +++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestCallContext.java Tue Nov 24 13:29:36 2009 +0000 @@ -46,4 +46,14 @@ return this.callMeta; } + public Object getContextValue(Object key) { + + return null; + } + + public Object putContextValue(Object key, Object value) { + + return null; + } + }