diff artifacts/doc/conf/meta-data.xml @ 9310:819dbd073624

vegZone no-overlap warning
author gernotbelger
date Thu, 26 Jul 2018 11:08:11 +0200
parents 517b93254995
children 85d08fb28d96
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Wed Jul 25 19:29:25 2018 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Thu Jul 26 11:08:11 2018 +0200
@@ -3676,12 +3676,18 @@
             <dc:variable name="vegzonedata" expr="dc:data_from_artifact($a_gid,'vegzones')" />
             <dc:variable name="vegzonedatalabel" expr="dc:get('ld_from'))" />
             <dc:variable name="label_temp" type="string" expr="dc:coalesce($collection_name, dc:toString($a_gid))" />
+            <dc:variable name="fromkm" type="number" expr="dc:fromValue(dc:get('ld_mode'),
+                             dc:get('ld_locations'), dc:get('ld_from'))" />
+            <dc:variable name="tokm" type="number" expr="dc:fromValue(dc:get('ld_mode'),
+                               dc:get('ld_locations'), dc:get('ld_to'))" />
             <dc:element name="${facet_name}">
               <dc:attribute name="factory" value="dummy" />
               <dc:attribute name="target_out" value="${out}" />
               <dc:attribute name="description" value="${label_temp}" />
               <!-- veg zones string as attribute -->
               <dc:attribute name="data" value="${vegzonedata}" />
+              <dc:attribute name="from_km" value="${fromkm}" />
+              <dc:attribute name="to_km" value="${tokm}" />
             </dc:element>
           </dc:for-each>
         </dc:if>

http://dive4elements.wald.intevation.org