Just some additional information:
A detailed explanation of the CQL_FILTER can be found here:
IMHO the current implementation is quite dangerous:
- An empty response from the DWD server doesn’t result in a message in the debug log. Get your WARNCELLID wrong, and you’ll never see a warning.
- There is no way to know the NAME of the region corresponding to the data. Get your WARNCELLID wrong (especially when using the wildcard %), and you’ll see wrong or no warnings at all.
So it is of utmost importance to get your WARNCELLID right:
-
- Lookup your Gemeinde/Stadt/Gewässer/… in Wetter und Klima - Deutscher Wetterdienst - Leistungen - cap_warncellids_csv - there might be several entries for your area of interest.
-
- Check your WARNCELLID by making a call to (without [ and ]):
https://maps.dwd.de/geoserver/dwd/ows?service=WFS&version=2.0.0&request=GetFeature&typeName=dwd:Warnungen_Gemeinden&CQL_FILTER=WARNCELLID%20LIKE%20%27[your WARNCELLID]%27
- Check your WARNCELLID by making a call to (without [ and ]):
-
- Please note that % within a WARNCELLID must be replaced with %25.
BTW, thanks to @malmix (see Obviously simple task: textbox to display item (string) with more than approximately 56 characters on the sitemap. But how? - #4 by malmix) I found a quite elegant way to embed long texts into sitemaps:
Webview url="http://<ip address>:8080/rest/items/DWDUnwetterWarnungen_Description1/state" visibility=[DWDUnwetterWarnungen_Warning1==ON] height=3
Image url="https://www.dwd.de/DWD/warnungen/warnapp_gemeinden/json/warnungen_gemeinde_map_de.png" visibility=[DWDUnwetterWarnungen_Warning1==ON]