Last active
February 22, 2022 05:26
-
-
Save Botiplz/8f26dc40810ff2d39d8bd5fba7d4925c to your computer and use it in GitHub Desktop.
Corona Inzidenz-Widget für Android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KWGT Variablen: | |
Lon: | |
$li(lon)$ | |
Lat: | |
$li(lat)$ | |
url: | |
https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_Landkreisdaten/FeatureServer/0/query?where=1%3D1&outFields=GEN,cases7_per_100k&geometry=$mu(round,gv(lon),3)$%2C$mu(round,gv(lat),3)$&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelWithin&returnGeometry=false&outSR=4326&f=json | |
InzGEN: | |
$wg(gv(url), json, .features[0].attributes.GEN)$ | |
InzCases: | |
$wg(gv(url), json, .features[0].attributes.cases7_per_100k)$ | |
InzNum: | |
$mu(round,gv(inzCases),1)$ | |
InzFarbe: | |
$if(gv(inznum)>50, #FFFF0000, gv(inznum)>35, #FF00F70F, #FFFCAD00)$ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moin,
seit ein paar Tagen funktioniert der Abruf der Neuinfektionen in DE nicht mehr. Hat sich der Link verändert?