changeset 7524:25d890e3eb69

issue1664: Let DC instruct StaticWKmsArtifact to spawn facets for cm and cm/a axis for delta ws from fix analysis.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 06 Nov 2013 12:07:48 +0100
parents ce90d2f4ee46
children 6650485c2c9b
files artifacts/doc/conf/meta-data.xml artifacts/src/main/java/org/dive4elements/river/artifacts/StaticWKmsArtifact.java
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Wed Nov 06 12:03:38 2013 +0100
+++ b/artifacts/doc/conf/meta-data.xml	Wed Nov 06 12:07:48 2013 +0100
@@ -1528,7 +1528,8 @@
                     <dc:for-each>
                       <column name="{$wst_column_name}"
                               ids="delta_w-wstv-{$wst_column_position}-{$wst_id}"
-                              factory="staticwkms" target_out="{$out}"
+                              factory="staticwkms"
+                              target_out="{$out}"
                               info="{$info} [km {$deffrom} - {$defto}]"/>
                     </dc:for-each>
                   </relativepoint>
@@ -1541,7 +1542,7 @@
                   <relativepoint name="{dc:group-key()}">
                     <dc:for-each>
                       <column name="{$wst_column_name}"
-                              ids="delta_w-wstv-{$wst_column_position}-{$wst_id}"
+                              ids="delta_w_cma-wstv-{$wst_column_position}-{$wst_id}"
                               factory="staticwkms" target_out="{$out}"
                               info="{$info} [km {$deffrom} - {$defto}]"/>
                     </dc:for-each>
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/StaticWKmsArtifact.java	Wed Nov 06 12:03:38 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/StaticWKmsArtifact.java	Wed Nov 06 12:07:48 2013 +0100
@@ -148,6 +148,12 @@
                 else if (parts[0].equals("additionalsmarks")) {
                     name = STATIC_WKMS_MARKS;
                 }
+                else if (parts[0].equals("delta_w")) {
+                    name = STATIC_DELTA_W;
+                }
+                else if (parts[0].equals("delta_w_cma")) {
+                    name = STATIC_DELTA_W_CMA;
+                }
                 else {
                     name = STATIC_WKMS;
                 }

http://dive4elements.wald.intevation.org