view flys-backend/doc/annotation-types.xml @ 4488:5041105d2edd

Check if response code from GGInA is 200 OK Only parse the GGInA response if the status code is 200 OK. This improves the error message if GGInA is not available and shows the real reason instead of a JDOM error while parsing the response.
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 14 Nov 2012 10:36:21 +0100
parents ff70ff6c0629
children 92ba5ffb8ba8
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?>
<annotation>
    <types>
        <type name="Abzweigung"/>
        <type name="Berechnungsstrecke"/>
        <type name="Brücke"/>
        <type name="Bundesland"/>
        <type name="Deich"/>
        <type name="Einmündung"/>
        <type name="Fähre"/>
        <type name="Gemeinde"/>
        <type name="Grenze"/>
        <type name="Hafen"/>
        <type name="HW-Schutz"/>
        <type name="Landkreis"/>
        <type name="Meldestelle"/>
        <type name="Messstelle"/>
        <type name="Pegel"/>
        <type name="Stauwehr"/>
        <type name="Staatsgrenze"/>
        <type name="Staat"/>
        <type name="WSA"/>
        <type name="Zufluß"/>
        <type name="Sonstige" default="true"/>
    </types>

    <patterns>
        <file pattern="^Brücken$" type="Brücke"/>
        <file pattern="^Deich.*$" type="Deich"/>
        <file pattern="^Hafen$" type="Hafen"/>
        <file pattern="^Pegel-alle$" type="Pegel"/>
        <file pattern="^Pegel$" type="Pegel"/>
        <file pattern="^Wehr$" type="Stauwehr"/>
        <file pattern="^Stauwehr$" type="Stauwehr"/>
        <file pattern="^Zufluß$" type="Zufluß"/>

        <line pattern="^Abz\.?[:\s].*$" type="Abzweigung"/>
        <line pattern="^Berechnungsstrecke.*$" type="Berechnungsstrecke"/>
        <line pattern="^Brücke[:\s].*$" type="Brücke"/>
        <line pattern="^Bundesland[:\s].*$" type="Bundesland"/>
        <line pattern="^Einmündung[:\s].*$" type="Einmündung"/>
        <line pattern="^Fähre[:\s].*$" type="Abzweig"/>
        <line pattern="^Gemeinde[:\s].*$" type="Gemeinde"/>
        <line pattern="^Grenze[:\s].*$" type="Grenze"/>
        <line pattern="^Hafen[:\s].*$" type="Hafen"/>
        <line pattern="^HW-Schutz[:\s].*$" type="HW-Schutz"/>
        <line pattern="^Landkreis[:\s].*$" type="Landkreis"/>
        <line pattern="^Meldestelle[:\s].*$" type="Meldestelle"/>
        <line pattern="^Messstelle[:\s].*$" type="Messstelle"/>
        <line pattern="^Geschiebemessstelle[:\s].*$" type="Messstelle"/>
        <line pattern="^Pegel[:\s].*$" type="Pegel"/>
        <line pattern="^Staatsgrenze[:\s].*$" type="Staatsgrenze"/>
        <line pattern="^Staat[:\s].*$" type="Staat"/>
        <line pattern="^Wehr[:\s].*$" type="Stauwehr"/>
        <line pattern="^WSA[:\s].*$" type="WSA"/>
        <line pattern="^Zufluß[:\s].*$" type="Zufluß"/>
    </patterns>
</annotation>

http://dive4elements.wald.intevation.org