Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 5210:908848b74d7e
SCHEME CHANGE: dgm now uses time intervals and ranges
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 08 Mar 2013 18:15:48 +0100 |
parents | 8c65acf01adc |
children | a75acd0d5fee |
comparison
equal
deleted
inserted
replaced
5209:850237ae9544 | 5210:908848b74d7e |
---|---|
970 </dc:macro> | 970 </dc:macro> |
971 <dc:macro name="flood-map-dem"> | 971 <dc:macro name="flood-map-dem"> |
972 <dems> | 972 <dems> |
973 <dc:context> | 973 <dc:context> |
974 <dc:statement> | 974 <dc:statement> |
975 SELECT id AS dem_id, | 975 SELECT d.id AS dem_id, |
976 lower AS dem_lower, | 976 r.a AS dem_lower, |
977 upper AS dem_upper, | 977 r.b AS dem_upper, |
978 name AS name, | 978 d.name AS name, |
979 projection || ' | ' || year_from || ' - ' || year_to AS info | 979 d.projection || ' | ' || t.start || ' - ' || t.stop AS info |
980 FROM dem WHERE river_id = ${river_id} | 980 FROM dem d |
981 JOIN ranges r ON d.range_id r.id | |
982 JOIN time_intervals t ON d.time_interval_id t.id | |
983 WHERE river_id = ${river_id} | |
981 </dc:statement> | 984 </dc:statement> |
982 <dc:elements> | 985 <dc:elements> |
983 <dem> | 986 <dem> |
984 <dc:attribute name="factory" value="demfactory"/> | 987 <dc:attribute name="factory" value="demfactory"/> |
985 <dc:attribute name="ids" value="${dem_id}"/> | 988 <dc:attribute name="ids" value="${dem_id}"/> |