# Query to find AEDs without a Mapillary tag

**URL:** <https://forum.mapillary.com/t/query-to-find-aeds-without-a-mapillary-tag/2618>\
**Category:** Stories and projects\
**Created:** [February 26, 2019, 8:14am UTC](https://forum.mapillary.com/t/query-to-find-aeds-without-a-mapillary-tag/2618 "2019-02-26T08:14:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![filipc](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/filipc/32/1103_2.png) [@filipc](https://forum.mapillary.com/u/filipc)\
**Post date:** [February 26, 2019, 8:14am UTC](https://forum.mapillary.com/t/query-to-find-aeds-without-a-mapillary-tag/2618/1 "2019-02-26T08:14:34Z")

</div>

> **[overpass turbo](https://overpass-turbo.eu/?q=LyoKVGhpcyBoYcSGYmVlbiBnxI1lcmF0ZWQgYnkgdGhlIG92xJJwxIlzLXR1cmJvIHdpemFyZC7EgsSdxJ9yaWdpbmFsIHNlxLBjaMSsxIk6CsOiwoDCnGVtxJLEkG5jxJo9IGRlZmlixLdsbMSUb3IgYW7El8S6ZG_FnT1ub8WIwp0KKi8KW291dDpqc29uXVt0acWMxbHFszI1XTsKLy_Ej8SUxJ3FnnJlc3VsdHMKKAogIMaFIHF1xJLEmsSjcnQgZsWdOiDFiMWKxYxyxY7FkD3FlMWWxZhpxZrFnMWexaDFosWhxaVyxafFqcKAxavGlcWoxZRbIsWLxY3EjcWQIj0ixqzFl8WZxZt0xZ0ixbkixaPGtiIhx4Z5xozHjsa_YWNjxoxzx5PHhnDEt3bElGXHmCEibWFwxq_Fm3J5x44oe3tixKp4fX0pxoPGlQrHucaExobHocS6xp_Gi8aNxo_GkcW-xJhvZHnGgz7Gg8iHc2tlxL1xdDs&c=BLR80s2i-J)**
>
> A web based data mining tool for OpenStreetMap which runs any kind of Overpass API query and shows the results on an interactive map.

or

node[“emergency”=“defibrillator”][“indoor”!=“yes”][“access”!=“private”]!“mapillary”;

As tagging is not done perfectly, a query cannot be perfect.  
But pictures are a first step.

I am only interested in the 24/7 accessible defibrillators.  
So in this query I could miss one indoors in a railway station that is 24/7 open.

Need I say that I import the result in OSMAND ?

---

<div class="post-metadata">

**Author:** ![Gness](https://avatars.discourse-cdn.com/v4/letter/g/3be4f8/32.png) [@Gness](https://forum.mapillary.com/u/Gness)\
**Post date:** [February 26, 2019, 12:52pm UTC](https://forum.mapillary.com/t/query-to-find-aeds-without-a-mapillary-tag/2618/2 "2019-02-26T12:52:14Z")

</div>

Forgive me, are you trying to get an export of devices that require mapillary coverage?

Or are you trying to edit osm to add the relevant mapillary tag, by doing this query and tagging the map where it is possible?

In the second case, it is not an automated edit. So you can go ahead and do it as any armchair mapper could. You could cite source: Mapillary (along with streetlevel imagery) in your changeset comment and explain what you did there. It will automatically say what editor you used. You do not have to explain your workflow.

---

<div class="post-metadata">

**Author:** ![filipc](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/filipc/32/1103_2.png) [@filipc](https://forum.mapillary.com/u/filipc)\
**Post date:** [February 26, 2019, 5:35pm UTC](https://forum.mapillary.com/t/query-to-find-aeds-without-a-mapillary-tag/2618/3 "2019-02-26T17:35:20Z")

</div>

https://www.youtube.com/embed/videoseries?list=PLvZ4ku8aVZLgV2qnUMj4O61UKP8LspSsG&wmode=transparent&rel=0&autohide=1&showinfo=1&enablejsapi=1

---

<div class="post-metadata">

**Author:** ![Gness](https://avatars.discourse-cdn.com/v4/letter/g/3be4f8/32.png) [@Gness](https://forum.mapillary.com/u/Gness)\
**Post date:** [February 26, 2019, 6:32pm UTC](https://forum.mapillary.com/t/query-to-find-aeds-without-a-mapillary-tag/2618/4 "2019-02-26T18:32:39Z")

</div>

I think I understand now. Reading through [Photo linking - OpenStreetMap Wiki](https://wiki.openstreetmap.org/wiki/Photo_linking)

My suggestions:  
It’s been encouraged to use just the image key, rather than the url as the value for mapillary in osm. The image key should never change, and presumably is requested via an API rather than through the website, making it easier to integrate.

e.g. mapillary=MfEfU0jdHULiSROiCvl0Wg

The url can be put under the image key  
e.g. image=[Mapillary](https://www.mapillary.com/app/?lat=52.626783214558486&lng=-0.9952875506141936&z=17&pKey=MfEfU0jdHULiSROiCvl0Wg)  
or image=[https://images.mapillary.com/MfEfU0jdHULiSROiCvl0Wg/thumb-2048.jpg](https://images.mapillary.com/MfEfU0jdHULiSROiCvl0Wg/thumb-2048.jpg)

as an example:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/8/e/8e2af27aa1e837247c624bcc25699be3729a676d.jpeg)

Years ago, OSM would ask you to add a source=\* key for an item, but when they added changesets, they ask that source attribution is added there. So as you finish a changeset in OSM, use the source tag, and include streetlevel imagery and also mapillary.  
[Changeset: 62778421 | OpenStreetMap](https://www.openstreetmap.org/changeset/62778421) as an example of how i’ve done this in the past.

Using overpass to locate defibrillators and then adding the mapillary image is fine. You should attribute the source as mapillary and streetlevel imagery in your changeset as that is what you are using to refine the data.

If you’re still unsure, I think the talk-be osm mailing list is a good place to get feedback. [The Talk-be Archives](https://lists.openstreetmap.org/pipermail/talk-be/)

But in my opinion, you’re not doing an automated edit, you are verifying the data before adding to osm and doing the other changes. So i do not see any problem.

---

<div class="post-metadata">

**Author:** ![filipc](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/filipc/32/1103_2.png) [@filipc](https://forum.mapillary.com/u/filipc)\
**Post date:** [August 27, 2024, 3:12pm UTC](https://forum.mapillary.com/t/query-to-find-aeds-without-a-mapillary-tag/2618/5 "2024-08-27T15:12:09Z")

</div>

I am going to give a small presentation during FOSS4G in september in Baarle Hertog.

[https://drive.google.com/drive/folders/10szoCsioPbg8CsJ6c9TQx3LXpYMUYoKv?usp=sharing](https://drive.google.com/drive/folders/10szoCsioPbg8CsJ6c9TQx3LXpYMUYoKv?usp=sharing)
