opendata-stuttgart / meta

Opendata Stuttgart organisiert und reguliert.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

what happened to type=Laerm ?

derkod opened this issue · comments

I use this URL to get all the Noise-sensors in NL: https://data.sensor.community/airrohr/v1/filter/country=NL&type=Laerm
But since a few days it does not work anymore. It always returns an empty json.
Does anyone know what happened and how I should have known that?
Thanks!

Sorry we needed to rename this type. In all instructions it's refered to as DNMS, so the type is now 'DNMS (Laerm)'.

OK. I tried this from Python:
url='https://data.sensor.community/airrohr/v1/filter/country=NL&type=%27DNMS%20(Laerm)%27'
and
url="https://data.sensor.community/airrohr/v1/filter/country=NL&type='DNMS (Laerm)"
and many other variations with single quotes/double quotes/spaces/non spaces
Also tried it from a webbrowser.
But still no data. Even if I change NL in DE
What do I miss here?

This should work again.
The correct URL for the request would be:
https://data.sensor.community/airrohr/v1/filter/country=NL&type=DNMS%20(Laerm)
The quotation marks were only written to show start and end of the query string.

Yes, it works now. Thanks for resolving this!