Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add police feed #24

Open
herndlm opened this issue Dec 27, 2021 · 3 comments
Open

Add police feed #24

herndlm opened this issue Dec 27, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@herndlm
Copy link
Contributor

herndlm commented Dec 27, 2021

I'm not sure if this one exists officially in the format needed here, but according to https://nina.api.bund.dev/ there is also a datasource / feed for police warnings.

I could not find the needed JSON feed yet, only tried guessing it based on biwapp, see

https://warnung.bund.de/api31/biwapp/mapData.json => https://warnung.bund.de/bbk.biwapp/warnmeldungen.json
https://warnung.bund.de/api31/police/mapData.json => ?

Is there some place where these URLs can be extracted from? I did also not find any of those jsons while using https://warnung.bund.de/meldungen

@jplitza
Copy link
Owner

jplitza commented Oct 1, 2022

Maybe @founderio can answer how he got the endpoints he added in bundesAPI/nina-api@d00bc73 and if there is a police feed including the GeoJSON (like the bbk.biwapp link above).

@jplitza jplitza added the enhancement New feature or request label Oct 1, 2022
@founderio
Copy link

Hm, can't really help you in the "how" I got these, I just documented what I could understand from bundesAPI/nina-api#6.

A good source of information right at the top of that issue: https://warnung.bund.de/bbk.config/config_rel.json which points to several URLs, none seem related to police, just general public safety.

https://warnung.bund.de/meldungen does not seem to use the police feed, only the biwapp feed (under api31):
image

@founderio
Copy link

On that note, I do believe that if https://warnung.bund.de/api31/police/mapData.json ever has data (I only ever see an empty array in there) that it will probably have an appropriate entry in https://warnung.bund.de/api31/warnings/{identifier}.geojson which will be GeoJSON data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants