view flys-artifacts/doc/conf/artifacts/map.xml @ 5106:d16398d65a59 dami

Importer: Print a decent error when failing to parse a gew and exit. This makes the importer easier to debug if you do not get your mysterious errors at some other place.
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 26 Feb 2013 19:39:04 +0100
parents 14188f8daefb
children d43ef9f709cd
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="new_map">
    <states>
         <state id="state.map.river" description="state.winfo.river" state="de.intevation.flys.artifacts.states.RiverSelect">
            <data name="river" type="String" />
         </state>

         <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
             <from state="state.map.river"/>
             <to state="state.map.new"/>
         </transition>

         <state id="state.map.new" description="state.map.new" state="de.intevation.flys.artifacts.MapArtifact$MapState">
            <outputmodes>
                <outputmode name="map" description="output.uesk.map.description" type="map">
                    <facets>
                        <facet name="floodmap.wsplgen"/>
                        <facet name="floodmap.barriers"/>
                        <facet name="floodmap.riveraxis"/>
                        <facet name="floodmap.wmsbackground"/>
                        <facet name="floodmap.kms"/>
                        <facet name="floodmap.qps"/>
                        <facet name="floodmap.hws"/>
                        <facet name="floodmap.hydr_boundaries"/>
                        <facet name="floodmap.hydr_boundaries_poly"/>
                        <facet name="floodmap.catchment"/>
                        <facet name="floodmap.floodplain"/>
                        <facet name="floodmap.lines"/>
                        <facet name="floodmap.buildings"/>
                        <facet name="floodmap.fixpoints"/>
                        <facet name="floodmap.floodmaps"/>
                        <facet name="floodmap.gauge_location"/>
                        <facet name="floodmap.externalwms"/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>
    </states>
</artifact>

http://dive4elements.wald.intevation.org