Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 5796:53cff50918b1
Fix other buildings.
Previously there was one level to many so that for each building
a new folder was created
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 23 Apr 2013 18:47:57 +0200 |
parents | c0d0b9fd1aa8 |
children | e4d0e80ae404 |
comparison
equal
deleted
inserted
replaced
5795:202a73ce6704 | 5796:53cff50918b1 |
---|---|
1579 </dc:for-each> | 1579 </dc:for-each> |
1580 </dc:context> | 1580 </dc:context> |
1581 <dc:context> | 1581 <dc:context> |
1582 <dc:statement> | 1582 <dc:statement> |
1583 SELECT DISTINCT | 1583 SELECT DISTINCT |
1584 b.kind_id AS building_kind_id, | |
1585 b.name AS building_name, | 1584 b.name AS building_name, |
1586 bk.name AS building_kind | 1585 bk.name AS building_kind, |
1586 b.kind_id AS building_kind_id | |
1587 FROM buildings b | 1587 FROM buildings b |
1588 JOIN building_kinds bk ON b.kind_id = bk.id | 1588 JOIN building_kinds bk ON b.kind_id = bk.id |
1589 WHERE river_id = ${river_id} | 1589 WHERE river_id = ${river_id} |
1590 AND kind_id = 0 OR | 1590 AND kind_id = 0 |
1591 kind_id IS NULL | |
1592 </dc:statement> | 1591 </dc:statement> |
1593 <dc:for-each> | 1592 <dc:if test="dc:has-result()"> |
1594 <dc:element name="${building_kind}"> | 1593 <other> |
1595 <dc:for-each> | 1594 <dc:for-each> |
1596 <buildings description="{$building_name}" | 1595 <buildings description="{$building_name}" |
1597 factory="wmsbuildingsfactory" | 1596 factory="wmsbuildingsfactory" |
1598 ids="{$river_id};{$building_name}"/> | 1597 ids="{$river_id};{$building_name}"/> |
1599 </dc:for-each> | 1598 </dc:for-each> |
1600 </dc:element> | 1599 </other> |
1601 </dc:for-each> | 1600 </dc:if> |
1602 </dc:context> | 1601 </dc:context> |
1603 <dc:context> | 1602 <dc:context> |
1604 <dc:statement> | 1603 <dc:statement> |
1605 SELECT DISTINCT | 1604 SELECT DISTINCT |
1606 j.kind_id AS jetty_kind_id, | 1605 j.kind_id AS jetty_kind_id, |