view gnv-artifacts/doc/conf/products/layer/conf.xml @ 761:0b1de7e38907

Adjusted mapfile templates for 'Horizontalschnitte' - display DESC column as label in a WMS layer (issue209). gnv-artifacts/trunk@815 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 22 Mar 2010 11:23:33 +0000
parents a4b66195d55a
children 28028979c813
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="layer">
    <states>

        <state id="layer_mapviewerswitch" description="layer_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="String" multiselect="false" usedinquery="0"/>
                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
            </inputvalues>
        </state>
        
        <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
            <from state="layer_mapviewerswitch"/>
            <to state="layer_area"/>
            <condition inputvalue="geometry" value="POLYGON" operator="notequal"/>
        </transition>
        
        <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
            <from state="layer_mapviewerswitch"/>
            <to state="layer"/>
            <condition inputvalue="geometry" value="POLYGON" operator="equal"/>
        </transition>
        
        <state id="layer_area" description="layer_area_one" 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="String" 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="layer_area"/>
            <to state="layer_subarea"/>
            <condition inputvalue="areaid" value="n/n" operator="notequal"/>
        </transition>
        <transition transition="de.intevation.gnv.transition.ValueCompareTransition">
            <from state="layer_area"/>
            <to state="layer_without_geom"/>
            <condition inputvalue="areaid" value="n/n" operator="equal"/>
        </transition>
        
        <state id="layer_subarea" description="layer_subaera" state="de.intevation.gnv.state.DefaultState">
            <queryID>subarea_filter</queryID>
            <dataname>subareaid</dataname>
            <data-multiselect>false</data-multiselect>
            <inputvalues>
                <inputvalue name="sourceid" type="String" 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="layer_subarea"/>
            <to state="layer"/>
        </transition>
        
         <state id="layer_without_geom" description="layer_without_geom" state="de.intevation.gnv.state.DefaultState">
             <queryID>layer</queryID>
             <dataname>layerid</dataname>
             <data-multiselect>false</data-multiselect>
             <inputvalues>
                 <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="1"/>
                 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                 <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="0"/>
             </inputvalues>
         </state>
         
        <transition transition="de.intevation.gnv.transition.DefaultTransition">
            <from state="layer_without_geom"/>
            <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>
             <dataname>layerid</dataname>
             <data-multiselect>false</data-multiselect>
             <inputvalues>
                 <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="1"/>
                 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/>
                 <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="0"/>
             </inputvalues>
         </state>
         
         <transition transition="de.intevation.gnv.transition.DefaultTransition">
            <from state="layer"/>
            <to state="layer_calculate_results"/>
         </transition>
         
         <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_with_geom</queryID-layerdata>
            <queryID-geometry>geometry_for_subareafilter</queryID-geometry>
            <queryID-columns>layer_colums</queryID-columns>
            <inputvalue-geometry>subareaid</inputvalue-geometry>
            <inputvalues>
               <inputvalue name="sourceid" type="String" 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"/>
                <outputsMode name="wms" description="WMS-Layer bereitstellen" mime-type="text/url"/>
            </outputsModes>
         </state>
        
    </states>
</artifact>

http://dive4elements.wald.intevation.org