Skip to content

Latest commit

 

History

History
150 lines (98 loc) · 5.71 KB

README_en.md

File metadata and controls

150 lines (98 loc) · 5.71 KB

Defikarte.ch - the Swiss Defikarte

alt text

Idea and implementation

The idea for this page came to me when I was driving through a sleepy village in the canton of Graubünden and at regular intervals a sign showed me the next location of a defibrillator. I realized, that by far not all cantons do this and that the defibrillator locations are mostly unknown.

Then I went to look for the data in my hometown and got this information. I then entered the data in OpenStreetMap and defibrillators were now maintained in my community. But I quickly began to think outside the box and wanted to know how the data stock looks like across Switzerland. When querying the data, I was very surprised by the result and I thought that this data should be used. I found two or three other maps that were more or less manually maintained. I found this method too cumbersome and wanted my card to benefit directly from community data contribution, so I launched Defikarte.ch.

The card is intended to help everyone find a defibrillator quickly and efficiently in a hectic, unusual situation.

Important: Defi's displayed in green are accessible 24 hours a day. Defis displayed in orange can be reached with restrictions or during opening hours.

Data

Key Value Description
emergency defibrillator Designates a defibrillator location
defibrillator: location e.g. on a wall next to the entrance etc. Location of the defibrillator
description Available 24h Description of the Defi
opening_hours 24/7, effective opening times or empty the opening times when the Defi can be reached
access yes / no / empty Access to the defi
phone Phone number Number of the emergency call center or the operator of the Defi
emergency: phone 144 Nationwide emergency number (Switzerland)

OpenStreetMap

OpenStreetMap® are "Open Data" that are available from the OpenStreetMap Foundation (OSMF) in accordance with the Open Data Commons Open Database License (ODbL).

You are free to copy, pass on, transmit and adapt our data, provided you cite OpenStreetMap and the contributors as the source. In the event that you make adjustments based on our data or use them as the basis for further processing, you can only pass on the result according to the same license. The complete license text can be viewed under License and explains your rights and obligations.

Our documentation is available under the '' Creative Commons '' license "Attribution - Distribution under the same conditions" 2.0 (CC BY-SA 2.0).

Complete article: https://www.openstreetmap.org/copyright

Tools

The following tools are used to get the data from Openstreetmap:

Overpass

Overpass API and its GUI Overpass Turbo make it easy to call up data from OpenStreetMap directly. No layer or intermediate storage is necessary for this.

Well-known endpoints for the API are:

Interrogate

show all defis in Switzerland

/ *
This has been generated by the overpass-turbo wizard.
The original search was:
"Emergency = defibrillator in CH"
* /
[out: json] [timeout: 25];
nwr ["emergency" = "defibrillator"] ["opening_hours"! = "24/7"]; out center;

show all defices in Switzerland that are available 24 hours a day

/ *
This has been generated by the overpass-turbo wizard.
The original search was:
“Emergency = defibrillator and opening_hours =" 24/7 "in CH”
* /
[out: json] [timeout: 25];
// fetch area “CH” to search in
{{geocodeArea: CH}} ->. searchArea;
// gather results
(
  // query part for: “emergency = defibrillator and opening_hours =" 24/7 "”
  node ["emergency" = "defibrillator"] ["opening_hours" = "24/7"] (area.searchArea);
  way ["emergency" = "defibrillator"] ["opening_hours" = "24/7"] (area.searchArea);
  relation ["emergency" = "defibrillator"] ["opening_hours" = "24/7"] (area.searchArea);
);
// print results
out body;
>;
out skel qt;

Umap

The card itself is embedded via an iframe and is actually an Umap card. The Swiss branch is managed by the SOSM.

Umap can be found here in [Github] (https://github.com/umap-project/umap)

App-Stores

The App is available in the Appstores.

appstore.png playstore.png

Press

Various press reports were created via Defikarte.ch. The mentions were consistently positive, which makes me very happy.

Awards

Nominations

Sponsors

Platin Sponsor

Gold Sponsors

Logo Sponsors

Contributors

Made with contributors-img.

Open Source

Open source and open data is one of the basic manifestos of the Defikarte.

We support the following open source initiatives:

Code on drawing