Mercurial > dive4elements > river
comparison artifacts/doc/conf/meta-data.xml @ 8508:5160d5f9c65d
(issue1782) Invert KM filter if from is larger then to
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 16 Dec 2014 15:40:00 +0100 |
parents | 7f63ad20d4f0 |
children | 76113b975829 |
comparison
equal
deleted
inserted
replaced
8507:7d0c4e508835 | 8508:5160d5f9c65d |
---|---|
3195 </dc:macro> | 3195 </dc:macro> |
3196 | 3196 |
3197 <dc:macro name="artifact-range"> | 3197 <dc:macro name="artifact-range"> |
3198 <dc:variable name="fromkm" type="number" expr="dc:fromValue(dc:get('ld_mode'), dc:get('ld_locations'), dc:get('ld_from'))"/> | 3198 <dc:variable name="fromkm" type="number" expr="dc:fromValue(dc:get('ld_mode'), dc:get('ld_locations'), dc:get('ld_from'))"/> |
3199 <dc:variable name="tokm" type="number" expr="dc:toValue(dc:get('ld_mode'), dc:get('ld_locations'), dc:get('ld_to'))"/> | 3199 <dc:variable name="tokm" type="number" expr="dc:toValue(dc:get('ld_mode'), dc:get('ld_locations'), dc:get('ld_to'))"/> |
3200 <dc:if test="$fromkm > $tokm"> | |
3201 <dc:message>Inverting KM filter.</dc:message> | |
3202 <dc:variable name="fromkm" type="number" expr="dc:toValue(dc:get('ld_mode'), dc:get('ld_locations'), dc:get('ld_to'))"/> | |
3203 <dc:variable name="tokm" type="number" expr="dc:fromValue(dc:get('ld_mode'), dc:get('ld_locations'), dc:get('ld_from'))"/> | |
3204 </dc:if> | |
3200 <dc:macro-body/> | 3205 <dc:macro-body/> |
3201 </dc:macro> | 3206 </dc:macro> |
3202 | 3207 |
3203 </datacage> | 3208 </datacage> |
3204 </dc:template> | 3209 </dc:template> |