# HG changeset patch # User Ingo Weinzierl # Date 1276348000 0 # Node ID fb2d07f7a5ae5b4839c1f3564b4791a9fc03e98b # Parent 51f3edc9d74384b24b1e77f8d4bdc94872d0614d Added configuration and sql statements for a new product named 'Achsenparalleler Vertikalschnitt. gnv-artifacts/trunk@1205 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 51f3edc9d743 -r fb2d07f7a5ae gnv-artifacts/ChangeLog --- a/gnv-artifacts/ChangeLog Sat Jun 12 13:00:45 2010 +0000 +++ b/gnv-artifacts/ChangeLog Sat Jun 12 13:06:40 2010 +0000 @@ -1,3 +1,21 @@ +2010-06-12 Ingo Weinzierl + + * doc/conf/products/horizontalprofile/conf_mesh.xml: Configuration for the + new product 'Achsenparalleler Vertikalschnitt'. + + * doc/conf/queries.properties: A new sql statement to query all points of a + given axis of a mesh. + + * doc/conf/conf.xml: Added the new product to fis 'Modeldaten'. + + * src/main/resources/lang/artifactMessages.properties, + src/main/resources/lang/artifactMessages_de_DE.properties, + src/main/resources/lang/artifactMessages_en.properties, + src/main/resources/lang/artifactMessages_de.properties: Added a name for + the new product 'Achsenparalleler Vertikalschnitt'. + + TODO: Find an english name for this product! + 2010-06-12 Ingo Weinzierl * src/main/java/de/intevation/gnv/profile/verticalcrosssection/VerticalCrossSectionMeshParallelArtifact.java: diff -r 51f3edc9d743 -r fb2d07f7a5ae gnv-artifacts/doc/conf/conf.xml --- a/gnv-artifacts/doc/conf/conf.xml Sat Jun 12 13:00:45 2010 +0000 +++ b/gnv-artifacts/doc/conf/conf.xml Sat Jun 12 13:06:40 2010 +0000 @@ -201,6 +201,14 @@ + + de.intevation.gnv.artifacts.GNVArtifactFactory + + + + + de.intevation.gnv.artifacts.GNVArtifactFactory @@ -439,6 +447,8 @@ + + diff -r 51f3edc9d743 -r fb2d07f7a5ae gnv-artifacts/doc/conf/products/horizontalprofile/conf_mesh.xml --- a/gnv-artifacts/doc/conf/products/horizontalprofile/conf_mesh.xml Sat Jun 12 13:00:45 2010 +0000 +++ b/gnv-artifacts/doc/conf/products/horizontalprofile/conf_mesh.xml Sat Jun 12 13:06:40 2010 +0000 @@ -178,7 +178,7 @@ - + axisid false diff -r 51f3edc9d743 -r fb2d07f7a5ae gnv-artifacts/doc/conf/queries.properties --- a/gnv-artifacts/doc/conf/queries.properties Sat Jun 12 13:00:45 2010 +0000 +++ b/gnv-artifacts/doc/conf/queries.properties Sat Jun 12 13:06:40 2010 +0000 @@ -1796,7 +1796,37 @@ MEDIAN.MESHPOINT.IPOSITION, \ MEDIAN.MESHPOINT.KPOSITION, \ msv.PARAMETERID - + +############################################## +#### Special case of VerticalCrossSection #### +############################################## +verticalcrosssection_mesh_parallel_linestring = SELECT ST_ASTEXT(SHAPE), \ + IPOSITION, \ + JPOSITION \ + from MEDIAN.MESHLAYER ml, \ + MEDIAN.MESHPOINT, \ + MEDIAN.MESH m, \ + MEDIAN.MESHSCALARVALUE msv \ + where msv.FEATUREID = MEDIAN.MESHPOINT.FEATUREID AND \ + ml.KPOSITION = MEDIAN.MESHPOINT.KPOSITION and \ + ml.MESHID = MEDIAN.MESHPOINT.MESHID and \ + m.MESHID = MEDIAN.MESHPOINT.MESHID AND \ + m.PARTIDMIN <= msv.PARTID AND \ + m.PARTIDMAX >= msv.PARTID AND \ + msv.PARAMETERID in (?) AND \ + msv.TIMEVALUE in (?) AND \ + m.OBJECTID = ? AND \ + MEDIAN.MESHPOINT.FEATUREID in \ + ( select FEATUREID \ + from MEDIAN.MESHPOINT mp, \ + MEDIAN.MESH m \ + where m.OBJECTID = ? AND \ + mp.MESHID = m.MESHID AND \ + KPOSITION in ( 1 ) and \ + ? = (select ? from MEDIAN.MESHPOINT where FEATUREID = ?)) \ + order by MEDIAN.MESHPOINT.JPOSITION, \ + MEDIAN.MESHPOINT.IPOSITION + ############################################# ############################################# ########## Horizontalschnitt MESH ########### diff -r 51f3edc9d743 -r fb2d07f7a5ae gnv-artifacts/src/main/resources/lang/artifactMessages.properties --- a/gnv-artifacts/src/main/resources/lang/artifactMessages.properties Sat Jun 12 13:00:45 2010 +0000 +++ b/gnv-artifacts/src/main/resources/lang/artifactMessages.properties Sat Jun 12 13:06:40 2010 +0000 @@ -27,6 +27,7 @@ horizontalProfileCross = Horizontales Schnittprofil horizontalCrossSection = Horizontal cross-section verticalcrosssection = Vertical cross-section +verticalcrosssectionparallel = Achsenparalleler Vertikalschnitt layer = Layer featureid = Station mesh_coordinate = Geographic position (e.g. 56n30 6e20) diff -r 51f3edc9d743 -r fb2d07f7a5ae gnv-artifacts/src/main/resources/lang/artifactMessages_de.properties --- a/gnv-artifacts/src/main/resources/lang/artifactMessages_de.properties Sat Jun 12 13:00:45 2010 +0000 +++ b/gnv-artifacts/src/main/resources/lang/artifactMessages_de.properties Sat Jun 12 13:06:40 2010 +0000 @@ -26,6 +26,7 @@ horizontalProfileCross = Horizontales Schnittprofil horizontalCrossSection = Horizontalschnitt verticalcrosssection = Profilschnitt +verticalcrosssectionparallel = Achsenparalleler Vertikalschnitt layer = Layer featureid = Station meshid= Datengitter diff -r 51f3edc9d743 -r fb2d07f7a5ae gnv-artifacts/src/main/resources/lang/artifactMessages_de_DE.properties --- a/gnv-artifacts/src/main/resources/lang/artifactMessages_de_DE.properties Sat Jun 12 13:00:45 2010 +0000 +++ b/gnv-artifacts/src/main/resources/lang/artifactMessages_de_DE.properties Sat Jun 12 13:06:40 2010 +0000 @@ -26,6 +26,7 @@ horizontalProfileCross = Horizontales Schnittprofil horizontalCrossSection = Horizontalschnitt verticalcrosssection = Profilschnitt +verticalcrosssectionparallel = Achsenparalleler Vertikalschnitt layer = Layer featureid = Station meshid= Datengitter diff -r 51f3edc9d743 -r fb2d07f7a5ae gnv-artifacts/src/main/resources/lang/artifactMessages_en.properties --- a/gnv-artifacts/src/main/resources/lang/artifactMessages_en.properties Sat Jun 12 13:00:45 2010 +0000 +++ b/gnv-artifacts/src/main/resources/lang/artifactMessages_en.properties Sat Jun 12 13:06:40 2010 +0000 @@ -27,6 +27,7 @@ horizontalProfileCross = Horizontales Schnittprofil horizontalCrossSection = Horizontal cross-section verticalcrosssection = Vertical cross-section +verticalcrosssectionparallel = Achsenparalleler Vertikalschnitt layer = Layer featureid = Station mesh_coordinate = Geographic position (e.g. 56n30 6e20)