[PATCH 3 of 3] issue1664: Let DC instruct StaticWKmsArtifact to spawn facets

Wald Commits scm-commit at wald.intevation.org
Wed Nov 6 12:09:56 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1383736068 -3600
# Node ID 25d890e3eb691aea515ae7152d0c43dd0671161e
# Parent  ce90d2f4ee46677673b9f0d29ff806a0238eb07e
issue1664: Let DC instruct StaticWKmsArtifact to spawn facets
for cm and cm/a axis for delta ws from fix analysis.

diff -r ce90d2f4ee46 -r 25d890e3eb69 artifacts/doc/conf/meta-data.xml
--- 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>
diff -r ce90d2f4ee46 -r 25d890e3eb69 artifacts/src/main/java/org/dive4elements/river/artifacts/StaticWKmsArtifact.java
--- 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;
                 }


More information about the Dive4elements-commits mailing list