# HG changeset patch # User Tim Englich # Date 1255429066 0 # Node ID dbf68950b4d950949142609615051ab7218a71f8 # Parent 1b2fc94766c9e3ee80e7bd9eb4933d7bcb468057 Added real Coordinate-Query to HorizontalProfile- and VerticalProfile-Mesh gnv-artifacts/trunk@213 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 1b2fc94766c9 -r dbf68950b4d9 gnv-artifacts/ChangeLog --- a/gnv-artifacts/ChangeLog Tue Oct 13 09:11:23 2009 +0000 +++ b/gnv-artifacts/ChangeLog Tue Oct 13 10:17:46 2009 +0000 @@ -1,3 +1,11 @@ +2009-10-13 Tim Englich + + * src/test/ressources/verticalprofile_mesh/verticalprofile_step_*_feed.xml, + src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_*_feed.xml: + Switched to Szenario where it is possible to select Data using the Coordinate. + * src/test/ressources/conf.xml, + src/test/ressources/queries.properties: + Switched to SFS-Conformant-Queries in HorzintalProfile- and VerticalProfile-Mesh 2009-10-13 Tim Englich * src/main/resources/lang/artifactMessages_*.properties: diff -r 1b2fc94766c9 -r dbf68950b4d9 gnv-artifacts/src/test/ressources/conf.xml --- a/gnv-artifacts/src/test/ressources/conf.xml Tue Oct 13 09:11:23 2009 +0000 +++ b/gnv-artifacts/src/test/ressources/conf.xml Tue Oct 13 10:17:46 2009 +0000 @@ -1,4 +1,3 @@ - de.intevation.gnv.artifacts.context.GNVArtifactContextFactory @@ -443,7 +442,7 @@ - + verticalprofile_mesh_point mesh_point false @@ -452,7 +451,7 @@ - + @@ -700,7 +699,7 @@ - + verticalprofile_mesh_point mesh_point false @@ -709,7 +708,7 @@ - + diff -r 1b2fc94766c9 -r dbf68950b4d9 gnv-artifacts/src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_03_feed.xml --- a/gnv-artifacts/src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_03_feed.xml Tue Oct 13 09:11:23 2009 +0000 +++ b/gnv-artifacts/src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_03_feed.xml Tue Oct 13 10:17:46 2009 +0000 @@ -3,5 +3,7 @@ - + + + \ No newline at end of file diff -r 1b2fc94766c9 -r dbf68950b4d9 gnv-artifacts/src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_04_feed.xml --- a/gnv-artifacts/src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_04_feed.xml Tue Oct 13 09:11:23 2009 +0000 +++ b/gnv-artifacts/src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_04_feed.xml Tue Oct 13 10:17:46 2009 +0000 @@ -4,6 +4,6 @@ - + \ No newline at end of file diff -r 1b2fc94766c9 -r dbf68950b4d9 gnv-artifacts/src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_08_feed.xml --- a/gnv-artifacts/src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_08_feed.xml Tue Oct 13 09:11:23 2009 +0000 +++ b/gnv-artifacts/src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_08_feed.xml Tue Oct 13 10:17:46 2009 +0000 @@ -4,7 +4,7 @@ - - + + \ No newline at end of file diff -r 1b2fc94766c9 -r dbf68950b4d9 gnv-artifacts/src/test/ressources/queries.properties --- a/gnv-artifacts/src/test/ressources/queries.properties Tue Oct 13 09:11:23 2009 +0000 +++ b/gnv-artifacts/src/test/ressources/queries.properties Tue Oct 13 10:17:46 2009 +0000 @@ -230,14 +230,15 @@ FROM MEDIAN.MESH m \ order by m.NAME -verticalprofile_mesh_point = SELECT FEATUREID KEY, \ - SHAPE VALUE \ - FROM MEDIAN.MESHPOINT mp , \ - MEDIAN.MESH m \ - WHERE m.OBJECTID = ? AND \ - m.MESHID = mp.MESHID AND \ - mp.KPOSITION = 1 AND \ - rownum < 10 +verticalprofile_mesh_point = SELECT FEATUREID, \ + ST_ASTEXT(SHAPE) \ + FROM MEDIAN.MESHPOINT \ + WHERE MESHID in \ + (SELECT DISTINCT MESHID \ + FROM MEDIAN.MESH \ + WHERE OBJECTID = ?) AND \ + KPOSITION = 1 AND \ + INTERSECTS(SHAPE,"?") verticalprofile_mesh_parameter=SELECT distinct \ p.PARAMETERID KEY , \ diff -r 1b2fc94766c9 -r dbf68950b4d9 gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_02_feed.xml --- a/gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_02_feed.xml Tue Oct 13 09:11:23 2009 +0000 +++ b/gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_02_feed.xml Tue Oct 13 10:17:46 2009 +0000 @@ -4,6 +4,6 @@ - + \ No newline at end of file diff -r 1b2fc94766c9 -r dbf68950b4d9 gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_03_feed.xml --- a/gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_03_feed.xml Tue Oct 13 09:11:23 2009 +0000 +++ b/gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_03_feed.xml Tue Oct 13 10:17:46 2009 +0000 @@ -3,5 +3,7 @@ - + + + \ No newline at end of file diff -r 1b2fc94766c9 -r dbf68950b4d9 gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_04_feed.xml --- a/gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_04_feed.xml Tue Oct 13 09:11:23 2009 +0000 +++ b/gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_04_feed.xml Tue Oct 13 10:17:46 2009 +0000 @@ -4,6 +4,6 @@ - - + + \ No newline at end of file diff -r 1b2fc94766c9 -r dbf68950b4d9 gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_06_feed.xml --- a/gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_06_feed.xml Tue Oct 13 09:11:23 2009 +0000 +++ b/gnv-artifacts/src/test/ressources/verticalprofile_mesh/verticalprofile_step_06_feed.xml Tue Oct 13 10:17:46 2009 +0000 @@ -4,6 +4,6 @@ - + \ No newline at end of file