Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 1869:8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
flys-artifacts/trunk@3218 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 10 Nov 2011 11:48:54 +0000 |
parents | 9793a67d7998 |
children | ec458853f560 |
comparison
equal
deleted
inserted
replaced
1868:9793a67d7998 | 1869:8f7bc6acd48d |
---|---|
75 </additional> | 75 </additional> |
76 </dc:elements> | 76 </dc:elements> |
77 </dc:context> | 77 </dc:context> |
78 </addtionals> | 78 </addtionals> |
79 </dc:macro> | 79 </dc:macro> |
80 | |
81 <dc:macro name="basedata_4_heightmarks-points"> | |
82 <heightmarks> | |
83 <dc:context> | |
84 <dc:statement> | |
85 SELECT id AS prot_id, | |
86 description AS prot_description | |
87 FROM wsts WHERE kind = 4 AND river_id = ${river_id} | |
88 </dc:statement> | |
89 <dc:elements> | |
90 <heightmark> | |
91 <dc:attribute name="name" value="${prot_description}"/> | |
92 <dc:context> | |
93 <dc:statement> | |
94 SELECT id AS prot_column_id, | |
95 name AS prot_column_name, | |
96 position AS prot_rel_pos | |
97 FROM wst_columns WHERE wst_id = ${prot_id} | |
98 ORDER by position | |
99 </dc:statement> | |
100 <dc:elements> | |
101 <column> | |
102 <dc:attribute name="name" value="${prot_column_name}"/> | |
103 <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/> | |
104 <dc:attribute name="factory" value="staticwkms"/> | |
105 </column> | |
106 </dc:elements> | |
107 </dc:context> | |
108 </heightmark> | |
109 </dc:elements> | |
110 </dc:context> | |
111 </heightmarks> | |
112 </dc:macro> | |
113 | |
80 <dc:macro name="mainvalues"> | 114 <dc:macro name="mainvalues"> |
81 <mainvalue> | 115 <mainvalue> |
82 <dc:attribute name="factory" value="mainvalue"/> | 116 <dc:attribute name="factory" value="mainvalue"/> |
83 <dc:attribute name="ids" value="${river_id}"/> | 117 <dc:attribute name="ids" value="${river_id}"/> |
84 </mainvalue> | 118 </mainvalue> |
85 </dc:macro> | 119 </dc:macro> |
86 | 120 |
87 | |
88 <dc:macro name="annotations"> | 121 <dc:macro name="annotations"> |
89 <annotation> | 122 <annotation> |
90 <dc:attribute name="factory" value="annotations"/> | 123 <dc:attribute name="factory" value="annotations"/> |
91 <dc:attribute name="ids" value="${river_id}"/> | 124 <dc:attribute name="ids" value="${river_id}"/> |
92 </annotation> | 125 </annotation> |
93 </dc:macro> | 126 </dc:macro> |
94 | 127 |
128 | |
129 <dc:comment> | |
130 | |
131 + River-Node | |
132 | |
133 </dc:comment> | |
134 | |
95 <river> | 135 <river> |
96 <dc:attribute name="name" value="${river_name}"/> | 136 <dc:attribute name="name" value="${river_name}"/> |
97 <dc:if test="dc:contains($artifact-outs, 'w_differences')"> | |
98 <annotation> | |
99 <dc:attribute name="factory" value="annotations"/> | |
100 <dc:attribute name="ids" value="${river_id}"/> | |
101 </annotation> | |
102 </dc:if> | |
103 | 137 |
104 <dc:choose> | 138 <dc:choose> |
105 <dc:when test="dc:contains($parameters, 'recommended')"> | 139 <dc:when test="dc:contains($parameters, 'recommended')"> |
106 <dc:comment> | 140 <dc:comment> |
107 Recommendations. | 141 Recommendations. |
109 <dc:if test="dc:contains($artifact-outs, 'w_differences') or (dc:contains($artifact-outs, 'discharge_longitudinal_section'))"> | 143 <dc:if test="dc:contains($artifact-outs, 'w_differences') or (dc:contains($artifact-outs, 'discharge_longitudinal_section'))"> |
110 <dc:call-macro name="annotations"/> | 144 <dc:call-macro name="annotations"/> |
111 </dc:if> | 145 </dc:if> |
112 </dc:when> | 146 </dc:when> |
113 <dc:otherwise> | 147 <dc:otherwise> |
148 <dc:comment> | |
149 Non - Recommendations. | |
150 </dc:comment> | |
151 <dc:if test="dc:contains($artifact-outs, 'cross_section')"> | |
152 <dc:call-macro name="basedata_0"/> | |
153 <dc:call-macro name="basedata_1_additionals"/> | |
154 </dc:if> | |
155 <dc:if test="dc:contains($artifact-outs, 'discharge_longitudinal_section')"> | |
156 <dc:call-macro name="basedata_0"/> | |
157 <dc:call-macro name="basedata_4_heightmarks-points"/> | |
158 </dc:if> | |
159 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'w_differences'))"> | |
160 <dc:call-macro name="basedata_0"/> | |
161 <dc:call-macro name="basedata_1_additionals"/> | |
162 <dc:comment comment=" FIXATIONS ---------------------------"/> | |
163 <dc:call-macro name="basedata_2_fixations"/> | |
164 <dc:comment comment=" HOEHENMARKEN ---------------------------"/> | |
165 <dc:call-macro name="basedata_4_heightmarks-points"/> | |
166 </dc:if> | |
167 <dc:comment comment="--- non-recommendations---"/> | |
114 </dc:otherwise> | 168 </dc:otherwise> |
115 </dc:choose> | 169 </dc:choose> |
116 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'w_differences'))"> | 170 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'w_differences'))"> |
117 <dc:choose> | 171 <dc:choose> |
118 <dc:when test="dc:contains($parameters, 'recommended')"> | 172 <dc:when test="dc:contains($parameters, 'recommended')"> |