There wasn’t any general thread about this, so let me create one
OpenAEDMap ( https://openaedmap.org/ ) lets you browse and add Automatic External Defibrillators (emergency=defibrillator) to OpenStreetMap. It’s open source, written in Python, SQL+PostGIS and JS+React. To my knowledge it’s the only global OSM-based AED map with vector tiles, so it’s much faster than others which use Overpass API.
How can you help?
The simplest way is to add AEDs you encounter in public. As you can see from the map, there are still countries with almost no AEDs mapped in OSM! The mobile version is installable, so you can add it to the home screen.
If you know Python and PostGIS: help resolve an issue with vector tiles not refreshing. The app is pretty easy to deploy thanks to Docker, but I wasn’t able to track down what part of logic is broken
I am happy to announce that due to @NorthCrab’s efforts the backend has been totally re-written and all AEDs show up on the map in a matter of minutes! This also adjusted the numbers you see on the country labels.
Mapped one what we call a DAE in Rapino last weekend discovered while sheltering for the pouring rain in a gallery. Checked and sure enough it shows up exactly where I left it, on the map. Goodos.
Pinning on this map while underway is nice, now take a picture with lat/lon per the phone GPS and map them when back behind the keyboard.
To do that SEO needs to be improved. This means localizing the title and description. There’s an issue for that:
AFAIK there’s no localized string for this right now, but you can post translations in the issue comments.
Also, please share the openaedmap.org to people who may find it useful, so far it’s the only such map with freely-licensed data, available from the browser, using modern technology stack. The more links to it, the better it will rank in search engines. (* - as long as there’s no rel=nofollow attribute on links as is usual for user-generated content)
Cool site, I tried it out for a while, and I plan to use it to survey AED in my city.
I have a problem tho, I can’t login with my account, I get this error:
"Si è verificato un errore
L'uri di redirect incluso non è valido."
(DeepL: “An error occurred
The included redirect url is invalid.”, also I guess “uri” is a typo for “url”?).
Image is not displayed even if added with wikimedia_commons= (example: OpenAEDMap - Map of Defibrillators). Maybe only image=* is supported? This wouldn’t help me during a survey because I wouldn’t know if the AED already has an image or not.
If I hover the mouse on the legend icons I get a pop up with the corresponding OSM tag (access=yes, access=private ecc.). It would be cool if was the same for the icons on the left, so phone=, opening_hours=, check_date= ecc. maybe it could help new users getting curious about OSM tags?
Image is not displayed even if added with wikimedia_commons= (example: OpenAEDMap - Map of Defibrillators). Maybe only image=* is supported? This wouldn’t help me during a survey because I wouldn’t know if the AED already has an image or not.
I think @NorthCrab is working on supporting wikimedia_commons on the backend.
On the frontend side we need to display licence, author etc.
If I hover the mouse on the legend icons I get a pop up with the corresponding OSM tag (access=yes, access=private ecc.). It would be cool if was the same for the icons on the left, so phone=, opening_hours=, check_date= ecc. maybe it could help new users getting curious about OSM tags?
I went for a survey today, and I have other points I want to share. If I click an AED and then click “Edit”, all the fields are blank, even if the tag is already present on OSM. An example, this AED is already tagged as indoor=no, but if I click it on OpenAEDMap and the click “Edit”, no option is flagged. I would expect to have blanks only for questions that are not mapped yet. Also on the bottom, the button to confirm the edits says “Aggiungi un DAE” (translated: “Add an AED”). Shouldn’t it be “Edit the AED”? I didn’t try to confirm the edits because I worry a new AED will be added or the blank options will overwrite the tags already present.
When attempting an edit, an error is thrown in the browser console, which could explain the empty fields. This obviously is not an expected behavior. @starsep
I’m also astonished there are place with so few mapped AEDs, especially Albania (0) and India (2!) :0
I wonder what’s the reason, if lack of mapping or lack of AEDs.
@ivanbranco@NorthCrab
Thanks for the report.
I fixed it: edit form wasn’t properly loaded because data comes there from OpenStreetMap API and one field was missing provided by OpenAEDMap backend elsewhere.