# HG changeset patch
# User gernotbelger
# Date 1525104391 -7200
# Node ID 1574ce45c98dce26ec95a1d659db88f13116275d
# Parent c265c9fc915c55bb34fb4ed490ed837c2489b40f# Parent c16e90a0baf7998c5069d239f7751c754659028f
Merge
diff -r c265c9fc915c -r 1574ce45c98d artifacts/doc/conf/backend-db.xml
--- a/artifacts/doc/conf/backend-db.xml Mon Apr 30 18:03:02 2018 +0200
+++ b/artifacts/doc/conf/backend-db.xml Mon Apr 30 18:06:31 2018 +0200
@@ -5,7 +5,7 @@
d4e
org.hibernate.dialect.PostgreSQLDialect
org.postgresql.Driver
- jdbc:postgresql://localhost:5432/d4e
+ jdbc:postgresql://localhost:63333/d4e
select 1 from rivers
30000
diff -r c265c9fc915c -r 1574ce45c98d artifacts/doc/conf/conf.xml
--- a/artifacts/doc/conf/conf.xml Mon Apr 30 18:03:02 2018 +0200
+++ b/artifacts/doc/conf/conf.xml Mon Apr 30 18:06:31 2018 +0200
@@ -181,21 +181,19 @@
ttl="3600000"
artifact="org.dive4elements.river.artifacts.uinfo.UINFOArtifact">org.dive4elements.artifactdatabase.DefaultArtifactFactory
-
-
-
-
- org.dive4elements.artifactdatabase.DefaultArtifactFactory
-
org.dive4elements.artifactdatabase.DefaultArtifactFactory
org.dive4elements.artifactdatabase.DefaultArtifactFactory
+ org.dive4elements.artifactdatabase.DefaultArtifactFactory
diff -r c265c9fc915c -r 1574ce45c98d artifacts/doc/conf/generators/longitudinal-diagram-defaults.xml
--- a/artifacts/doc/conf/generators/longitudinal-diagram-defaults.xml Mon Apr 30 18:03:02 2018 +0200
+++ b/artifacts/doc/conf/generators/longitudinal-diagram-defaults.xml Mon Apr 30 18:06:31 2018 +0200
@@ -59,6 +59,7 @@
+
\ No newline at end of file
diff -r c265c9fc915c -r 1574ce45c98d artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml Mon Apr 30 18:03:02 2018 +0200
+++ b/artifacts/doc/conf/meta-data.xml Mon Apr 30 18:06:31 2018 +0200
@@ -1636,6 +1636,10 @@
+
+
+
+
@@ -3488,21 +3492,24 @@
- SELECT tc.tkh_id AS tkh_id, tc.id AS tkh_col_id, tc.name AS tkh_col_name,
- MIN(t.filename) AS tkh_name, MIN(tv.station) AS km_min, MAX(tv.station) AS km_max,
- MIN(t.filename) || '<br />' || MIN(t.sounding_info) || '<br />' || MIN(t.evaluation_by) AS info
- FROM tkh_column tc INNER JOIN tkh t ON tc.tkh_id=t.id
- INNER JOIN tkh_values tv ON tc.id=tv.tkh_column_id
- WHERE (t.river_id=${river_id})
- AND (lower(t.groupname)=${tkh_groupname})
- GROUP BY tc.tkh_id, tc.id
- ORDER BY tc.id
+ SELECT sc.tkh_id AS tkh_id, sc.id AS tkh_col_id, 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.sounding_info) || '<br />'
+ || MIN(s.evaluation_by) AS info
+ FROM tkh_column sc INNER JOIN tkh s ON sc.tkh_id=s.id
+ INNER JOIN tkh_values v ON sc.id=v.tkh_column_id
+ WHERE (s.river_id=${river_id})
+ AND (lower(s.groupname)=${tkh_groupname})
+ GROUP BY sc.tkh_id, sc.id
+ ORDER BY sc.id
-
+
@@ -3530,9 +3537,10 @@
SELECT s.id AS depthevol_id, s.filename AS depthevol_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
s.filename || '<br />'
+ || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']<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
+ || MIN(s.old_glw) || ' - ' || MIN(s.curr_glw) AS info
FROM depth_evolution s INNER JOIN depth_evolution_values v ON s.id=v.depth_evolution_id
WHERE (s.river_id=${river_id})
AND (lower(s.groupname)=${depthevol_groupname})
@@ -3540,10 +3548,42 @@
ORDER BY s.id
-
+
+
+
+
+
+
+
+
+
+ SELECT sc.flow_depth_id AS flowdepth_id, sc.id AS flowdepth_col_id, 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.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
+ INNER JOIN flow_depth_values v ON sc.id=v.flow_depth_column_id
+ WHERE (s.river_id=${river_id})
+ GROUP BY sc.flow_depth_id, sc.id
+ ORDER BY sc.id
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r c265c9fc915c -r 1574ce45c98d artifacts/doc/conf/seddb-db.xml
--- a/artifacts/doc/conf/seddb-db.xml Mon Apr 30 18:03:02 2018 +0200
+++ b/artifacts/doc/conf/seddb-db.xml Mon Apr 30 18:06:31 2018 +0200
@@ -5,7 +5,7 @@
seddb
org.hibernate.dialect.PostgreSQLDialect
org.postgresql.Driver
- jdbc:postgresql://localhost:5432/seddb
+ jdbc:postgresql://localhost:63333/seddb
select 1 from gewaesser
30000