opendata-stuttgart / meta

Opendata Stuttgart organisiert und reguliert.
123 stars 19 forks source link

what happened to type=Laerm ? #158

Closed derkod closed 3 years ago

derkod commented 3 years ago

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!

ricki-z commented 3 years ago

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

derkod commented 3 years ago

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?

ricki-z commented 3 years ago

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.

derkod commented 3 years ago

Yes, it works now. Thanks for resolving this!