# HG changeset patch # User Ingo Weinzierl # Date 1350379713 -7200 # Node ID 5589b1fd459d6581a27d0b7fd3525e89358c43b2 # Parent d39f229ea990a149b25193f453f48c8acfbcf24d# Parent 58864f4f6e3b87f120f94d589c415d1e57601749 Merged. diff -r d39f229ea990 -r 5589b1fd459d flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Tue Oct 16 11:27:27 2012 +0200 +++ b/flys-artifacts/ChangeLog Tue Oct 16 11:28:33 2012 +0200 @@ -1,3 +1,24 @@ +2012-10-16 Felix Wolfsteller + + Fix issue946. + + * flys-artifacts/doc/conf/meta-data.xml: Load wkms with different + parameter for fix wq curves. + + * flys-artifacts/doc/conf/artifacts/fixanalysis.xml: + Add new facet to compat list. + + * flys-artifacts/doc/conf/default-themes.xml, + flys-artifacts/doc/conf/second-themes.xml, + flys-artifacts/doc/conf/themes.xml: + Added new theme/mapping. + + * flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: + Register new facet type. + + * flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java: + Handle "new" Facet. + 2012-10-16 Christian Lins * src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java, diff -r d39f229ea990 -r 5589b1fd459d flys-artifacts/doc/conf/artifacts/fixanalysis.xml --- a/flys-artifacts/doc/conf/artifacts/fixanalysis.xml Tue Oct 16 11:27:27 2012 +0200 +++ b/flys-artifacts/doc/conf/artifacts/fixanalysis.xml Tue Oct 16 11:28:33 2012 +0200 @@ -152,7 +152,8 @@ - + + diff -r d39f229ea990 -r 5589b1fd459d flys-artifacts/doc/conf/default-themes.xml --- a/flys-artifacts/doc/conf/default-themes.xml Tue Oct 16 11:27:27 2012 +0200 +++ b/flys-artifacts/doc/conf/default-themes.xml Tue Oct 16 11:28:33 2012 +0200 @@ -834,6 +834,29 @@ + + + + + + + + + + + + + + diff -r d39f229ea990 -r 5589b1fd459d flys-artifacts/doc/conf/meta-data.xml --- a/flys-artifacts/doc/conf/meta-data.xml Tue Oct 16 11:27:27 2012 +0200 +++ b/flys-artifacts/doc/conf/meta-data.xml Tue Oct 16 11:28:33 2012 +0200 @@ -82,6 +82,42 @@ + + + + + + SELECT id AS prot_id, + description AS prot_description + FROM wsts WHERE kind = 1 AND river_id = ${river_id} + + + + + + + SELECT id AS prot_column_id, + name AS prot_column_name, + position AS prot_rel_pos, + description AS info + FROM wst_columns WHERE wst_id = ${prot_id} + ORDER by position + + + + + + + + + + + + + + + + @@ -699,7 +735,7 @@ - + diff -r d39f229ea990 -r 5589b1fd459d flys-artifacts/doc/conf/second-themes.xml --- a/flys-artifacts/doc/conf/second-themes.xml Tue Oct 16 11:27:27 2012 +0200 +++ b/flys-artifacts/doc/conf/second-themes.xml Tue Oct 16 11:28:33 2012 +0200 @@ -833,6 +833,29 @@ + + + + + + + + + + + + + + diff -r d39f229ea990 -r 5589b1fd459d flys-artifacts/doc/conf/themes.xml --- a/flys-artifacts/doc/conf/themes.xml Tue Oct 16 11:27:27 2012 +0200 +++ b/flys-artifacts/doc/conf/themes.xml Tue Oct 16 11:28:33 2012 +0200 @@ -161,6 +161,7 @@ + diff -r d39f229ea990 -r 5589b1fd459d flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java Tue Oct 16 11:27:27 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java Tue Oct 16 11:28:33 2012 +0200 @@ -136,6 +136,9 @@ name = HEIGHTMARKS_POINTS; addStringData(DATA_HEIGHT_TYPE, "true"); } + else if (parts[0].equals("additionalsmarks")) { + name = STATIC_WKMS_MARKS; + } else { name = STATIC_WKMS; } diff -r d39f229ea990 -r 5589b1fd459d flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java Tue Oct 16 11:27:27 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java Tue Oct 16 11:28:33 2012 +0200 @@ -193,6 +193,7 @@ String STATIC_WQ = "other.wq"; String STATIC_WQ_ANNOTATIONS = "other.wq.annotations"; String STATIC_WKMS = "other.wkms"; + String STATIC_WKMS_MARKS = "other.wkms.marks"; String STATIC_WQKMS = "other.wqkms"; String STATIC_WQKMS_W = "other.wqkms.w"; String STATIC_WQKMS_Q = "other.wqkms.q"; diff -r d39f229ea990 -r 5589b1fd459d flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java --- a/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java Tue Oct 16 11:27:27 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java Tue Oct 16 11:28:33 2012 +0200 @@ -120,7 +120,8 @@ else if(QSECTOR.equals(name)) { doQSectorOut(aaf, doc, visible); } - else if(STATIC_WKMS_INTERPOL.equals(name) || + else if(/*STATIC_WKMS_INTERPOL.equals(name) ||*/ + STATIC_WKMS_MARKS.equals(name) || STATIC_WKMS.equals(name) || HEIGHTMARKS_POINTS.equals(name) ) { doWAnnotations( @@ -129,7 +130,8 @@ doc, visible); } - else if (LONGITUDINAL_W.equals(name) || STATIC_WQ.equals(name)) { + else if (LONGITUDINAL_W.equals(name) || STATIC_WQ.equals(name) + || STATIC_WKMS_INTERPOL.equals(name)) { doWQOut(aaf.getData(context), aaf, doc, visible); } else if (name.equals(DISCHARGE_CURVE)) {