APG|SGA
infosnowAPI Type 1API Type 2Divers

API Type 1 - danger (GEFAHR)

Depending on the type of danger, you either receive a LawinenstatusId or a FireRiskId. It's ugly, but backwards compatible.

<ElementGroup name="GEFAHR">
<Element>
tag description type/value unity optional
<Id> ... </Id> primary key integer -- no
<mappingKey> ... </mappingKey> mapping key string -- yes
<Initial> ... </Initial> initial string -- yes
<Type> ... </Type> type avalanche | fire -- no
<Name> ... </Name> description string -- no
<LawinenstatusId> ... </LawinenstatusId> status value status values -- no
<Lawinenstatus> ... </Lawinenstatus> short text string -- no
<FireRiskId> ... </FireRiskId> status value status values -- no
<FireRisk> ... </FireRisk> short text string -- no
</Element>
<Element>
...
</Element>
</ElementGroup>

status values

ValueDescription
0no info
1low
2moderate
3considerable
4high
5very high
6fire ban (wildfires only)