diff gnv-artifacts/doc/conf/products/layer/conf.xml @ 649:4fc97074eb90

Added Support for writing Shapefiles and Export them as an Zipfile for the Product Layer. gnv-artifacts/trunk@738 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 05 Mar 2010 12:35:24 +0000
parents 93978859fa9e
children f6630d0203da
line wrap: on
line diff
--- a/gnv-artifacts/doc/conf/products/layer/conf.xml	Fri Mar 05 09:13:17 2010 +0000
+++ b/gnv-artifacts/doc/conf/products/layer/conf.xml	Fri Mar 05 12:35:24 2010 +0000
@@ -54,8 +54,21 @@
          
         <transition transition="de.intevation.gnv.transition.DefaultTransition">
             <from state="layer_without_geom"/>
-            <to state="layer_calculate_results"/>
+            <to state="layer_calculate_results_without_geom"/>
         </transition>
+        
+        <state id="layer_calculate_results_without_geom" description="layer_calculate_results" state="de.intevation.gnv.state.layer.LayerOutputState">
+            <queryID>layer_request_data</queryID>
+            <queryID-layerdata>layer_data</queryID-layerdata>
+            <inputvalues>
+               <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/>
+               <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="1"/>
+            </inputvalues>
+            <outputsModes>
+                <outputsMode name="zip" description="Export als ZIP-Archiv" mime-type="application/zip"/>
+                <outputsMode name="wms" description="WMS-Layer bereitstellen" mime-type="text/url"/>
+            </outputsModes>
+        </state>
          
           <state id="layer" description="layer" state="de.intevation.gnv.state.DefaultState">
              <queryID>layer</queryID>
@@ -76,10 +89,13 @@
          
          <state id="layer_calculate_results" description="layer_calculate_results" state="de.intevation.gnv.state.layer.LayerOutputState">
             <queryID>layer_request_data</queryID>
-            <queryID-layerdata>layer_data</queryID-layerdata>
+            <queryID-layerdata>layer_data_with_geom</queryID-layerdata>
+            <queryID-geometry>geometry_for_subareafilter</queryID-geometry>
+            <inputvalue-geometry>subareaid</inputvalue-geometry>
             <inputvalues>
                <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/>
-               <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="0"/>
+               <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="1"/>
+               <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/>
             </inputvalues>
             <outputsModes>
                 <outputsMode name="zip" description="Export als ZIP-Archiv" mime-type="application/zip"/>

http://dive4elements.wald.intevation.org