# HG changeset patch # User Ingo Weinzierl # Date 1336648457 0 # Node ID f5af3adb3b9588ba788f4bf069e381f1e8eecde1 # Parent 0795c296f7189753c2272170d8aee6d955270db6 Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers. flys-artifacts/trunk@4383 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 0795c296f718 -r f5af3adb3b95 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Thu May 10 10:04:12 2012 +0000 +++ b/flys-artifacts/ChangeLog Thu May 10 11:14:17 2012 +0000 @@ -1,3 +1,38 @@ +2012-05-10 Ingo Weinzierl + + * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added + new facet types 'floodmap.hydr_boundaries' and + 'floodmap.hydr_boundaries_poly' + + * doc/conf/artifacts/winfo.xml, + doc/conf/artifacts/map.xml: Registered 'floodmap.hydr_boundaries' and + 'floodmap.hydr_boundaries_poly' for floodmap and map output types. + + * doc/conf/conf.xml: + + * doc/conf/themes.xml: Added themes for 'floodmap.hydr_boundaries' and + 'floodmap.hydr_boundaries_poly'. + + * doc/conf/meta-data.xml: Improved datacage configuration specific to + floodmaps and maps. + + * src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java, + src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java: + New artifacts to save information about hydrological boundaries. + + * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java, + src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java, + src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java, + src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java, + src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java, + src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java, + src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java, + src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java, + src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java, + src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java, + src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java: + Moved the methods getRiverId() and getTitle() into WMSDBArtifact. + 2012-05-10 Ingo Weinzierl * doc/conf/mapserver/wsplgen_layer.vm, diff -r 0795c296f718 -r f5af3adb3b95 flys-artifacts/doc/conf/artifacts/map.xml --- a/flys-artifacts/doc/conf/artifacts/map.xml Thu May 10 10:04:12 2012 +0000 +++ b/flys-artifacts/doc/conf/artifacts/map.xml Thu May 10 11:14:17 2012 +0000 @@ -21,6 +21,8 @@ + + diff -r 0795c296f718 -r f5af3adb3b95 flys-artifacts/doc/conf/artifacts/winfo.xml --- a/flys-artifacts/doc/conf/artifacts/winfo.xml Thu May 10 10:04:12 2012 +0000 +++ b/flys-artifacts/doc/conf/artifacts/winfo.xml Thu May 10 11:14:17 2012 +0000 @@ -464,6 +464,8 @@ + + diff -r 0795c296f718 -r f5af3adb3b95 flys-artifacts/doc/conf/conf.xml --- a/flys-artifacts/doc/conf/conf.xml Thu May 10 10:04:12 2012 +0000 +++ b/flys-artifacts/doc/conf/conf.xml Thu May 10 11:14:17 2012 +0000 @@ -32,6 +32,12 @@ de.intevation.artifactdatabase.DefaultArtifactFactory + de.intevation.artifactdatabase.DefaultArtifactFactory + de.intevation.artifactdatabase.DefaultArtifactFactory de.intevation.artifactdatabase.DefaultArtifactFactory diff -r 0795c296f718 -r f5af3adb3b95 flys-artifacts/doc/conf/meta-data.xml --- a/flys-artifacts/doc/conf/meta-data.xml Thu May 10 10:04:12 2012 +0000 +++ b/flys-artifacts/doc/conf/meta-data.xml Thu May 10 11:14:17 2012 +0000 @@ -622,6 +622,86 @@ + + + + + + + + + + + + + SELECT count(*) as km_exists, name as name + FROM hydr_boundaries WHERE river_id = ${river_id} AND kind = 1 GROUP BY name + + + + + + + + + + + + + + + + SELECT count(*) as km_exists, name as name + FROM hydr_boundaries WHERE river_id = ${river_id} AND kind = 2 GROUP BY name + + + + + + + + + + + + + + + + + + SELECT count(*) as km_exists, name as name + FROM hydr_boundaries_poly WHERE river_id = ${river_id} AND kind = 1 GROUP BY name + + + + + + + + + + + + + + + + SELECT count(*) as km_exists, name as name + FROM hydr_boundaries_poly WHERE river_id = ${river_id} AND kind = 2 GROUP BY name + + + + + + + + + + + + + @@ -630,11 +710,11 @@ - + - + @@ -658,15 +738,16 @@ - SELECT count(*) as km_exists - FROM lines WHERE river_id = ${river_id} + SELECT count(*) as km_exists, name as name + FROM lines WHERE river_id = ${river_id} GROUP BY name - + - - + + + @@ -674,15 +755,16 @@ - SELECT count(*) as km_exists - FROM buildings WHERE river_id = ${river_id} + SELECT count(*) as km_exists, name as name + FROM buildings WHERE river_id = ${river_id} GROUP BY name - + - - + + + @@ -690,15 +772,16 @@ - SELECT count(*) as km_exists - FROM fixpoints WHERE river_id = ${river_id} + SELECT count(*) as km_exists, name as name + FROM fixpoints WHERE river_id = ${river_id} GROUP BY name - + - - + + + @@ -719,7 +802,7 @@ - + @@ -738,7 +821,7 @@ - + @@ -759,7 +842,7 @@ - + @@ -778,7 +861,7 @@ - + @@ -790,6 +873,22 @@ + + + + + + + + + + + + + + + + @@ -797,18 +896,11 @@ - + + - - - + - - - - - - diff -r 0795c296f718 -r f5af3adb3b95 flys-artifacts/doc/conf/themes.xml --- a/flys-artifacts/doc/conf/themes.xml Thu May 10 10:04:12 2012 +0000 +++ b/flys-artifacts/doc/conf/themes.xml Thu May 10 11:14:17 2012 +0000 @@ -943,6 +943,21 @@ + + + + + + + + + + + + + + +