# HG changeset patch
# User mschaefer
# Date 1528109439 -7200
# Node ID edc3958b3ed2e5df339134d28764635fb31dc5e0
# Parent a165cd63099fbd0ebcf2450ef16f68d7f1c34625
Conf files for the infrastructure datacage extension
diff -r a165cd63099f -r edc3958b3ed2 artifacts/doc/conf/conf.xml
--- a/artifacts/doc/conf/conf.xml Mon Jun 04 11:55:08 2018 +0200
+++ b/artifacts/doc/conf/conf.xml Mon Jun 04 12:50:39 2018 +0200
@@ -199,6 +199,9 @@
org.dive4elements.artifactdatabase.DefaultArtifactFactory
+ org.dive4elements.artifactdatabase.DefaultArtifactFactory
diff -r a165cd63099f -r edc3958b3ed2 artifacts/doc/conf/generators/longitudinal-diagram-defaults.xml
--- a/artifacts/doc/conf/generators/longitudinal-diagram-defaults.xml Mon Jun 04 11:55:08 2018 +0200
+++ b/artifacts/doc/conf/generators/longitudinal-diagram-defaults.xml Mon Jun 04 12:50:39 2018 +0200
@@ -62,6 +62,7 @@
+
\ No newline at end of file
diff -r a165cd63099f -r edc3958b3ed2 artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml Mon Jun 04 11:55:08 2018 +0200
+++ b/artifacts/doc/conf/meta-data.xml Mon Jun 04 12:50:39 2018 +0200
@@ -1618,6 +1618,10 @@
+
+
+
+
@@ -3421,7 +3425,7 @@
SELECT s.id AS id, MIN(s.filename) AS seriesname, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
MIN(s.filename) || '<br />'
- || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']<br />'
+ || MIN(s.kmrange_info) || ']<br />'
|| MIN(s.year_from) || ' - ' || MIN(s.year_to) || '<br />' AS info
FROM channel s INNER JOIN channel_values v ON s.id=v.channel_id
WHERE (s.river_id=${river_id})
@@ -3458,7 +3462,7 @@
SELECT sc.tkh_id AS tkh_id, sc.id AS tkh_col_id, MIN(sc.name) AS tkh_col_name,
MIN(s.filename) AS tkh_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
MIN(s.filename) || '<br />'
- || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']<br />'
+ || MIN(s.kmrange_info) || ']<br />'
|| MIN(s.sounding_info) || '<br />'
|| MIN(s.evaluation_by) AS info
FROM tkh_column sc INNER JOIN tkh s ON sc.tkh_id=s.id
@@ -3501,7 +3505,7 @@
SELECT s.id AS depthevol_id, MIN(s.filename) AS depthevol_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
MIN(s.filename) || '<br />'
- || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']<br />'
+ || MIN(s.kmrange_info) || ']<br />'
|| MIN(s.start_year) || ' - ' || MIN(s.reference_year) || '<br />'
|| MIN(s.old_sounding) || ' - ' || MIN(s.curr_sounding) || '<br />'
|| MIN(s.old_glw) || ' - ' || MIN(s.curr_glw) AS info
@@ -3529,7 +3533,7 @@
SELECT sc.flow_depth_id AS flowdepth_id, sc.id AS flowdepth_col_id, MIN(sc.name) AS flowdepth_col_name,
MIN(s.filename) AS flowdepth_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
MIN(s.filename) || '<br />'
- || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']<br />'
+ || MIN(s.kmrange_info) || ']<br />'
|| MIN(s.sounding_info) || '<br />'
|| MIN(s.evaluation_by) AS info
FROM flow_depth_column sc INNER JOIN flow_depth s ON sc.flow_depth_id=s.id
@@ -3551,5 +3555,29 @@
+
+
+
+
+ SELECT s.id AS id, MIN(s.filename) AS seriesname, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
+ MIN(x.name) AS typename,
+ MIN(s.filename) || '<br />'
+ || MIN(s.kmrange_info) || '<br />'
+ || MIN(s.year) || '<br />' AS info
+ FROM infrastructure s INNER JOIN infrastructure_values v ON s.id=v.infrastructure_id
+ INNER JOIN annotation_types x ON s.annotation_type_id=x.id
+ WHERE (s.river_id=${river_id})
+ AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
+ GROUP BY s.id
+ ORDER BY MIN(s.filename) DESC;
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r a165cd63099f -r edc3958b3ed2 artifacts/doc/conf/themes.xml
--- a/artifacts/doc/conf/themes.xml Mon Jun 04 11:55:08 2018 +0200
+++ b/artifacts/doc/conf/themes.xml Mon Jun 04 12:50:39 2018 +0200
@@ -447,5 +447,6 @@
+
\ No newline at end of file
diff -r a165cd63099f -r edc3958b3ed2 artifacts/doc/conf/themes/default.xml
--- a/artifacts/doc/conf/themes/default.xml Mon Jun 04 11:55:08 2018 +0200
+++ b/artifacts/doc/conf/themes/default.xml Mon Jun 04 12:50:39 2018 +0200
@@ -3044,4 +3044,14 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r a165cd63099f -r edc3958b3ed2 artifacts/doc/conf/themes/second.xml
--- a/artifacts/doc/conf/themes/second.xml Mon Jun 04 11:55:08 2018 +0200
+++ b/artifacts/doc/conf/themes/second.xml Mon Jun 04 12:50:39 2018 +0200
@@ -3032,4 +3032,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file