view gnv-artifacts/doc/conf/products/verticalprofile/conf_instantaneouspoint.xml @ 776:cee3a0c22bb1

Modified the Workflow for Verticalprofiles on Instantaneouspoints so that the Inputvalues of the Mapviewer-Interface take effect. Also integrated the Regionfilter to this Product gnv-artifacts/trunk@843 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 26 Mar 2010 15:29:41 +0000
parents 7c67ff162e87
children 42c4cfc0d133
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="verticalProfileInstantaneousPoint">
   <states>
        <state id="verticalprofile_instantaneouspoint_mapviewerswitch" description="verticalprofile_instantaneouspoint_mesh_area_one" state="de.intevation.gnv.state.DefaultAutoResumeState">
            <!-- Empty State which will be used to integrate the switch for a 
                 standalone and an mapviewer based call. -->
            <inputvalues>
                <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/>
                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
            </inputvalues>
        </state>
        
        <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
            <from state="verticalprofile_instantaneouspoint_mapviewerswitch"/>
            <to state="verticalprofile_instantaneouspoint_area"/>
            <condition inputvalue="geometry" value="POLYGON" operator="notequal"/>
        </transition>
        
        <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
            <from state="verticalprofile_instantaneouspoint_mapviewerswitch"/>
            <to state="verticalprofile_instantaneouspoint_series_with_wkt"/>
            <condition inputvalue="geometry" value="POLYGON" operator="equal"/>
        </transition>
        
        <state id="verticalprofile_instantaneouspoint_area" description="verticalprofile_instantaneouspoint_area" state="de.intevation.gnv.state.DefaultState">
            <queryID>area_filter</queryID>
            <dataname>areaid</dataname>
            <data-multiselect>false</data-multiselect>
             <data-noselect>true</data-noselect>
            <inputvalues>
                <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/>
                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="0"/>
            </inputvalues>
        </state>
        
        <transition transition="de.intevation.gnv.transition.ValueCompareTransition">
            <from state="verticalprofile_instantaneouspoint_area"/>
            <to state="verticalprofile_instantaneouspoint_subarea"/>
            <condition inputvalue="areaid" value="n/n" operator="notequal"/>
        </transition>
        <transition transition="de.intevation.gnv.transition.ValueCompareTransition">
            <from state="verticalprofile_instantaneouspoint_area"/>
            <to state="verticalprofile_instantaneouspoint_series"/>
            <condition inputvalue="areaid" value="n/n" operator="equal"/>
        </transition>
        
        <state id="verticalprofile_instantaneouspoint_subarea" description="verticalprofile_instantaneouspoint_subarea" state="de.intevation.gnv.state.DefaultState">
            <queryID>subarea_filter</queryID>
            <dataname>subareaid</dataname>
            <data-multiselect>false</data-multiselect>
            <inputvalues>
                <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/>
                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="1"/>
                <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/>
            </inputvalues>
       </state>
       
       <transition transition="de.intevation.gnv.transition.DefaultTransition">
           <from state="verticalprofile_instantaneouspoint_subarea"/>
           <to state="verticalprofile_instantaneouspoint_series_with_aera"/>
       </transition>
       
       
       <!-- Anfang: Sonderfall Aufruf unter Berücksichtigung des WKT -->
       <state id="verticalprofile_instantaneouspoint_series_with_wkt" description="verticalprofile_instantaneouspoint_series" state="de.intevation.gnv.state.PreSettingsTransferState">
            <queryID>verticalprofile_instantaneouspoint_series_with_wkt</queryID>
            <dataname>seriesid</dataname>
            <data-multiselect>false</data-multiselect>
            <presettings-transfer presetting="geometry" inputvalue="wktid"/>
            <inputvalues>
                <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/>
                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                <inputvalue name="seriesid" type="Integer" multiselect="false" usedinquery="0"/>
                <inputvalue name="wktid" type="Geometry" multiselect="false" usedinquery="1"/>
            </inputvalues>
       </state>
       <transition transition="de.intevation.gnv.transition.DefaultTransition">
           <from state="verticalprofile_instantaneouspoint_series_with_wkt"/>
           <to state="verticalprofile_instantaneouspoint_point_with_wkt"/>
       </transition>
       
       <state id="verticalprofile_instantaneouspoint_point_with_wkt" description="verticalprofile_instantaneouspoint_point" state="de.intevation.gnv.state.CoordinateSelectionState">
         <queryID>verticalprofile_instantaneouspoint_point_with_wkt</queryID>
         <dataname>instantaneouspoint_point</dataname>
         <data-multiselect>false</data-multiselect>
         <inputvalues>
              <inputvalue name="seriesid" type="Integer" multiselect="false" usedinquery="1"/>
              <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/>
              <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
              <inputvalue name="instantaneouspoint_point" type="Integer" multiselect="false" usedinquery="0"/>
              <inputvalue name="wktid" type="Geometry" multiselect="false" usedinquery="1"/>
         </inputvalues>
     </state>
     
     <transition transition="de.intevation.gnv.transition.DefaultTransition">
          <from state="verticalprofile_instantaneouspoint_point_with_wkt"/>
          <to state="verticalprofile_instantaneouspoint_parameter"/>
     </transition>
     <!-- Ende: Sonderfall Aufruf unter Berücksichtigung des WKT -->
       
       
       <!-- Anfang: Sonderfall Aufruf unter Berücksichtigung des Gebietsfilters -->
       <state id="verticalprofile_instantaneouspoint_series_with_aera" description="verticalprofile_instantaneouspoint_series" state="de.intevation.gnv.state.DefaultState">
            <queryID>verticalprofile_instantaneouspoint_series_with_area</queryID>
            <dataname>seriesid</dataname>
            <data-multiselect>false</data-multiselect>
            <inputvalues>
                <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/>
                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                <inputvalue name="seriesid" type="Integer" multiselect="false" usedinquery="0"/>
                <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="1"/>
            </inputvalues>
       </state>
       <transition transition="de.intevation.gnv.transition.DefaultTransition">
           <from state="verticalprofile_instantaneouspoint_series_with_aera"/>
           <to state="verticalprofile_instantaneouspoint_point_with_aera"/>
       </transition>
       
       <state id="verticalprofile_instantaneouspoint_point_with_aera" description="verticalprofile_instantaneouspoint_point" state="de.intevation.gnv.state.CoordinateSelectionState">
         <queryID>verticalprofile_instantaneouspoint_point_with_aera</queryID>
         <dataname>instantaneouspoint_point</dataname>
         <data-multiselect>false</data-multiselect>
         <inputvalues>
              <inputvalue name="seriesid" type="Integer" multiselect="false" usedinquery="1"/>
              <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/>
              <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
              <inputvalue name="instantaneouspoint_point" type="Integer" multiselect="false" usedinquery="0"/>
              <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="1"/>
         </inputvalues>
     </state>
     
     <transition transition="de.intevation.gnv.transition.DefaultTransition">
          <from state="verticalprofile_instantaneouspoint_point_with_aera"/>
          <to state="verticalprofile_instantaneouspoint_parameter"/>
     </transition>
     <!-- Ende: Sonderfall Aufruf unter Berücksichtigung des Gebietsfilters -->
   
     <state id="verticalprofile_instantaneouspoint_series" description="verticalprofile_instantaneouspoint_series" state="de.intevation.gnv.state.DefaultState">
         <queryID>verticalprofile_instantaneouspoint_series</queryID>
         <dataname>seriesid</dataname>
         <data-multiselect>false</data-multiselect>
         <inputvalues>
             <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/>
              <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
              <inputvalue name="seriesid" type="Integer" multiselect="false" usedinquery="0"/>
         </inputvalues>
     </state>
     
     <transition transition="de.intevation.gnv.transition.DefaultTransition">
          <from state="verticalprofile_instantaneouspoint_series"/>
          <to state="verticalprofile_instantaneouspoint_point"/>
     </transition>
     
     <state id="verticalprofile_instantaneouspoint_point" description="verticalprofile_instantaneouspoint_point" state="de.intevation.gnv.state.CoordinateSelectionState">
         <queryID>verticalprofile_instantaneouspoint_point</queryID>
         <dataname>instantaneouspoint_point</dataname>
         <data-multiselect>false</data-multiselect>
         <inputvalues>
              <inputvalue name="seriesid" type="Integer" multiselect="false" usedinquery="1"/>
              <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/>
              <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
              <inputvalue name="instantaneouspoint_point" type="Integer" multiselect="false" usedinquery="0"/>
         </inputvalues>
     </state>
     
     <transition transition="de.intevation.gnv.transition.DefaultTransition">
          <from state="verticalprofile_instantaneouspoint_point"/>
          <to state="verticalprofile_instantaneouspoint_parameter"/>
     </transition>
     
     <state id="verticalprofile_instantaneouspoint_parameter" description="verticalprofile_instantaneouspoint_parameter" state="de.intevation.gnv.state.DefaultState">
         <queryID>verticalprofile_instantaneouspoint_parameter</queryID>
         <dataname>parameterid</dataname>
         <presettings-name>parameter</presettings-name>
         <data-multiselect>true</data-multiselect>
         <inputvalues>
              <inputvalue name="seriesid" type="Integer" multiselect="false" usedinquery="0" />
              <inputvalue name="instantaneouspoint_point" type="Integer" multiselect="false" usedinquery="1"/>
              <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
              <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="0"/>
         </inputvalues>
     </state>
     
     <transition transition="de.intevation.gnv.transition.DefaultTransition">
          <from state="verticalprofile_instantaneouspoint_parameter"/>
          <to state="verticalprofile_instantaneouspoint_minmaxdepth"/>
     </transition>
     
     <state id="verticalprofile_instantaneouspoint_minmaxdepth" description="verticalprofile_instantaneouspoint_minmaxdepth" state="de.intevation.gnv.state.MinMaxState">
         <queryID>verticalprofile_instantaneouspoint_minmaxdepth</queryID>
         <dataname>depthrange</dataname>
         <data-multiselect>true</data-multiselect>
         <inputvalues>
              <inputvalue name="seriesid" type="Integer" multiselect="false" usedinquery="0" />
              <inputvalue name="instantaneouspoint_point" type="Integer" multiselect="false" usedinquery="1"/>
              <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
              <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="1"/>
              <inputvalue name="minvalue" type="Double" multiselect="false" usedinquery="0"/>
              <inputvalue name="maxvalue" type="Double" multiselect="false" usedinquery="0"/>
         </inputvalues>
     </state>
     
     <transition transition="de.intevation.gnv.transition.DefaultTransition">
          <from state="verticalprofile_instantaneouspoint_minmaxdepth"/>
          <to state="verticalprofile_instantaneouspoint_calculate_results"/>
     </transition>
     
     <state id="verticalprofile_instantaneouspoint_calculate_results" description="verticalprofile_mesh_calculate_results" state="de.intevation.gnv.state.profile.vertical.VerticalProfileOutputState">
         <queryID>verticalprofile_instantaneouspoint_chart_data</queryID>
         <queryID-odv>verticalprofile_instantaneouspoint_odv_data</queryID-odv>
         <inputvalues>
             <inputvalue name="seriesid" type="Integer" multiselect="false" usedinquery="0" />
             <inputvalue name="instantaneouspoint_point" type="Integer" multiselect="false" usedinquery="1"/>
             <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="1"/>
             <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
             <inputvalue name="minvalue" type="Double" multiselect="false" usedinquery="1"/>
             <inputvalue name="maxvalue" type="Double" multiselect="false" usedinquery="1"/>
         </inputvalues>
         <value-names>
             <value-name name="feature" value="instantaneouspoint_point"></value-name>
             <value-name name="parameter" value="parameterid"></value-name>
             <value-name name="measurement" value="dateid"></value-name>
         </value-names>
         <outputsModes>
             <outputsMode name="chart" description="Chartrepresentation of the Values" mime-type="image/png">
                 <parameters>
                     <inputvalue name="width" type="Integer" value="600"/>
                     <inputvalue name="height" type="Integer" value="400"/>
                     <inputvalue name="points" type="Boolean" value="false"/>
                 </parameters>
                 <exportModes>
                     <export name="img" description="IMG-Export der Daten" mime-type="image/png" />
                     <export name="pdf" description="PDF-Export der Daten" mime-type="application/pdf" />
                     <export name="svg" description="SVG-Export der Daten" mime-type="image/svg+xml" />
                 </exportModes>
             </outputsMode>
             <outputsMode name="histogram" description="Histogram of the Values" mime-type="image/png">
                 <parameters>
                     <inputvalue name="width" type="Integer" value="600"/>
                     <inputvalue name="height" type="Integer" value="400"/>
                     <inputvalue name="bincount" type="Integer" value="7"/>
                     <inputvalue name="binwidth" type="Integer" value="7"/>
                 </parameters>
                 <exportModes>
                     <export name="img" description="IMG-Export der Daten" mime-type="image/png" />
                     <export name="pdf" description="PDF-Export der Daten" mime-type="application/pdf" />
                     <export name="svg" description="SVG-Export der Daten" mime-type="image/svg+xml" />
                 </exportModes> 
             </outputsMode>
             <outputsMode name="csv" description="CSV-Export der Daten" mime-type="text/plain"/>
             <outputsMode name="odv" description="ODV-Export der Daten" mime-type="text/plain"/>
             <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="text/xml"/>
         </outputsModes>
     </state>
  </states>
</artifact>

http://dive4elements.wald.intevation.org