# HG changeset patch # User Tim Englich # Date 1257436956 0 # Node ID 2b7a40b5b5354763402cd716fff0c7075b35fd71 # Parent 05663e307495289a1179a53ee5eb829941ff7681 Added the RegionFilters into the configuration of the Products for TimeSeriesPoints. gnv-artifacts/trunk@288 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 05663e307495 -r 2b7a40b5b535 gnv-artifacts/ChangeLog --- a/gnv-artifacts/ChangeLog Thu Nov 05 15:16:51 2009 +0000 +++ b/gnv-artifacts/ChangeLog Thu Nov 05 16:02:36 2009 +0000 @@ -1,9 +1,20 @@ 2009-11-05 Tim Englich * doc/conf/queries.properties: + Query to select only those TimeSeriesPoints + which are within an Region + * doc/conf/products/timeseries/conf_timeseriespoint.xml: + * doc/conf/products/verticalprofile/conf_timeseriespoint.xml: + Added the RegionFilters into the configuration of the Products + for TimeSeriesPoints. + + +2009-11-05 Tim Englich + * doc/conf/queries.properties: Added new Queries to fill the Lists for the Regionfilters and one Query to select only those Meshes - which ar within an Region. + which are within an Region. + * doc/conf/products/verticalprofile/conf_mesh.xml, doc/conf/products/verticalcrosssection/conf_mesh.xml, doc/conf/products/timeseries/conf_mesh.xml, diff -r 05663e307495 -r 2b7a40b5b535 gnv-artifacts/doc/conf/products/timeseries/conf_timeseriespoint.xml --- a/gnv-artifacts/doc/conf/products/timeseries/conf_timeseriespoint.xml Thu Nov 05 15:16:51 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/timeseries/conf_timeseriespoint.xml Thu Nov 05 16:02:36 2009 +0000 @@ -1,16 +1,57 @@ + + area_filter + areaid + false + true + + timeseries_subarea + + + + + + + + subarea_filter + subareaid + false + + timeseries_timeseriespoint + + + + timeseries_timeseriespoint + featureid + false + + timeseries_parameter + + + + + + + + + + + + + - timeseries_timeseriespoint + timeseries_timeseriespoint_with_area featureid false timeseries_parameter - + + diff -r 05663e307495 -r 2b7a40b5b535 gnv-artifacts/doc/conf/products/verticalprofile/conf_timeseriespoint.xml --- a/gnv-artifacts/doc/conf/products/verticalprofile/conf_timeseriespoint.xml Thu Nov 05 15:16:51 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/verticalprofile/conf_timeseriespoint.xml Thu Nov 05 16:02:36 2009 +0000 @@ -1,8 +1,48 @@ + + area_filter + areaid + false + true + + verticalprofile_subarea + + + + + + + + subarea_filter + subareaid + false + + verticalprofile_timeseriespoint + + + + verticalprofile_point + featureid + false + + verticalprofile_parameter + + + + + + + + + + + + + - verticalprofile_point + timeseries_timeseriespoint_with_area featureid false @@ -11,6 +51,7 @@ + diff -r 05663e307495 -r 2b7a40b5b535 gnv-artifacts/doc/conf/queries.properties --- a/gnv-artifacts/doc/conf/queries.properties Thu Nov 05 15:16:51 2009 +0000 +++ b/gnv-artifacts/doc/conf/queries.properties Thu Nov 05 16:02:36 2009 +0000 @@ -13,6 +13,21 @@ mmt.SOURCEID = ? \ order by tsp.name +timeseries_timeseriespoint_with_area=SELECT \ + MEDIAN.TIMESERIESPOINT.FEATUREID KEY, \ + MEDIAN.TIMESERIESPOINT.NAME VALUE \ + FROM MEDIAN.TIMESERIESPOINT, \ + MEDIAN.MEASUREMENT MMT \ + WHERE MEDIAN.TIMESERIESPOINT.FEATUREID = MMT.FEATUREID AND \ + MMT.SOURCEID = ? AND \ + INTERSECTS(SHAPE, \ + (SELECT st_astext(SHAPE) \ + FROM MEDIAN.FEATUREAREA \ + WHERE (FEATURETYPE = 7 OR FEATURETYPE = 8) AND \ + FEATURECODE = ? )\ + )\ + ORDER BY MEDIAN.TIMESERIESPOINT.NAME + timeseries_parameter=SELECT DISTINCT \ p.PARAMETERID KEY, \ p.GERMANNAME VALUE \