comparison artifacts/doc/conf/meta-data.xml @ 6650:531642542b18

fixed statement for floodplains in datacage-config (with Andre's eyes)
author Tom Gottfried <tom@intevation.de>
date Wed, 24 Jul 2013 17:24:02 +0200
parents 5e567047ef72
children ca80f61370ab
comparison
equal deleted inserted replaced
6649:5e567047ef72 6650:531642542b18
1918 <dc:context> 1918 <dc:context>
1919 <dc:statement> 1919 <dc:statement>
1920 SELECT DISTINCT 1920 SELECT DISTINCT
1921 fp.kind_id AS kind_id, 1921 fp.kind_id AS kind_id,
1922 flk.name AS kind_name 1922 flk.name AS kind_name
1923 fp.name AS layer_name
1923 FROM floodplain fp 1924 FROM floodplain fp
1924 JOIN floodplain_kinds flk on fp.kind_id = flk.id 1925 JOIN floodplain_kinds flk on fp.kind_id = flk.id
1925 WHERE river_id = ${river_id} 1926 WHERE river_id = ${river_id}
1926 AND kind_id=1
1927 </dc:statement> 1927 </dc:statement>
1928 <dc:if test="dc:has-result()"> 1928 <dc:if test="dc:has-result()">
1929 <floodplain> 1929 <floodplain>
1930 <dc:filter expr="$kind_id=1"> 1930 <dc:filter expr="$kind_id=1">
1931 <dc:for-each> 1931 <dc:for-each>

http://dive4elements.wald.intevation.org