Mercurial > dive4elements > river
comparison artifacts/doc/conf/meta-data.xml @ 7348:59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 16 Oct 2013 11:45:23 +0200 |
parents | 93a1e63f5644 |
children | 463cbda8c6e7 |
comparison
equal
deleted
inserted
replaced
7347:93a1e63f5644 | 7348:59bfda45262b |
---|---|
405 <dc:call-macro name="bedheight_differences"/> | 405 <dc:call-macro name="bedheight_differences"/> |
406 <dc:call-macro name="differences"/> | 406 <dc:call-macro name="differences"/> |
407 <dc:call-macro name="waterlevels-fix"/> | 407 <dc:call-macro name="waterlevels-fix"/> |
408 <dc:call-macro name="delta-wt-ls"/> | 408 <dc:call-macro name="delta-wt-ls"/> |
409 </dc:when> | 409 </dc:when> |
410 <dc:when test="starts-with($out, 'sq_relation')"> | |
411 <dc:call-macro name="sqrelations_user"/> | |
412 </dc:when> | |
410 </dc:choose> | 413 </dc:choose> |
411 </dc:iterate> | 414 </dc:iterate> |
412 </dc:otherwise> | 415 </dc:otherwise> |
413 </dc:choose> | 416 </dc:choose> |
414 </dc:call-macro> | 417 </dc:call-macro> |
1057 </dc:element> | 1060 </dc:element> |
1058 </dc:for-each> | 1061 </dc:for-each> |
1059 </difference> | 1062 </difference> |
1060 </dc:group> | 1063 </dc:group> |
1061 </bedheight_differences> | 1064 </bedheight_differences> |
1065 </dc:if> | |
1066 </dc:filter> | |
1067 </dc:macro> | |
1068 | |
1069 <dc:macro name="sqrelations_user"> | |
1070 <dc:filter expr=" | |
1071 ($out = 'sq_relation_a' and starts-with($facet_name, 'sq_a')) or | |
1072 ($out = 'sq_relation_b' and starts-with($facet_name, 'sq_b')) or | |
1073 ($out = 'sq_relation_c' and starts-with($facet_name, 'sq_c')) or | |
1074 ($out = 'sq_relation_d' and starts-with($facet_name, 'sq_d')) or | |
1075 ($out = 'sq_relation_e' and starts-with($facet_name, 'sq_e')) or | |
1076 ($out = 'sq_relation_f' and starts-with($facet_name, 'sq_f'))"> | |
1077 <dc:if test="dc:has-result()"> | |
1078 <sq_relations> | |
1079 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)"> | |
1080 <sqrel description="{dc:group-key()}"> | |
1081 <dc:for-each> | |
1082 <dc:element name="${facet_name}"> | |
1083 <dc:attribute name="factory" value="minfo"/> | |
1084 <dc:attribute name="target_out" value="${out}"/> | |
1085 <dc:attribute name="description" value="${facet_description}"/> | |
1086 <dc:attribute name="ids" value="${facet_num}"/> | |
1087 <dc:attribute name="artifact-id" value="${a_gid}"/> | |
1088 <dc:attribute name="out" value="${out_name}"/> | |
1089 </dc:element> | |
1090 </dc:for-each> | |
1091 </sqrel> | |
1092 </dc:group> | |
1093 </sq_relations> | |
1062 </dc:if> | 1094 </dc:if> |
1063 </dc:filter> | 1095 </dc:filter> |
1064 </dc:macro> | 1096 </dc:macro> |
1065 | 1097 |
1066 <dc:macro name="waterlevels-discharge"> | 1098 <dc:macro name="waterlevels-discharge"> |
2852 </dc:virtual-column> | 2884 </dc:virtual-column> |
2853 </dc:context> | 2885 </dc:context> |
2854 </dc:macro> | 2886 </dc:macro> |
2855 | 2887 |
2856 <dc:macro name="km-filtered-user-artifacts"> | 2888 <dc:macro name="km-filtered-user-artifacts"> |
2857 <dc:filter expr="not($deffrom > $tokm or $defto < $fromkm)"> | 2889 <dc:comment> |
2890 Apply KM Filtering but pass | |
2891 sq_ facets with no regard about their location. | |
2892 </dc:comment> | |
2893 <dc:filter expr="not($deffrom > $tokm or $defto < $fromkm) or | |
2894 starts-with($facet_name, 'sq_')"> | |
2858 <dc:macro-body/> | 2895 <dc:macro-body/> |
2859 </dc:filter> | 2896 </dc:filter> |
2860 </dc:macro> | 2897 </dc:macro> |
2861 | 2898 |
2862 <dc:macro name="artifact-range"> | 2899 <dc:macro name="artifact-range"> |