Page 2 of 2

Re: Stookalert

Posted: Friday 07 February 2025 17:01
by waltervl
Here a nice discussion with a usable URL: https://forum.samenmeten.nl/t/zichtbaar ... advies/674
Nemen we ons favoriete station Cabauw: latitude=51.974489&longitude=4.923301

We definieren daar boundarybox omheen, nemen die op als parameter, en doen de call naar de (nogal lange) url:

https://data.rivm.nl/geo/alo/wms?servic ... ,51.974489

Code: Select all

https://data.rivm.nl/geo/alo/wms?service=WMS&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&QUERY_LAYERS=stookwijzer_v2&LAYERS=stookwijzer_v2&info_format=application/json&feature_count=2&I=0&J=0&WIDTH=1&HEIGHT=1&CRS=CRS:84&BBOX=4.923300,51.974488,4.923301,51.974489

Re: Stookalert

Posted: Friday 07 February 2025 18:08
by FireWizard
Hi @waltervl,

Thank you for your response and the URL.
I wasn't aware of the URL of that forum.samenmeten.nl.

Also I looked into the source code of the Home Assistant solution.
I could not get any response from a link pointing to the solution to use Lat/Lon co-ordinations instead of using "Rijksdriehoeksco-ordinaten"

But the solution they use, is exactly, what I did in viewtopic.php?f=81&t=43176

But I will try with Lat/Lon co-ordinates directly.

Regards