Showing posts with label osm. Show all posts
Showing posts with label osm. Show all posts

Friday, 7 April 2023

OpenStreetMap query: show postboxes OR bottle banks OR AEDs or car chargers in an area

THINGS tags to query on: 




AEDs

bottle banks
electric car charging points
Mountain huts on Wicklow Way.
The Wicklow Way (roads, tracks and paths and other things tagged with Wicklow Way)


RELATED ish: 




QUERY websites/methods:


Overpass Turbo

Make a login.
You can save your queries.

e.g. amenity=shelter on Wicklow Way

node

  [amenity=shelter] 

  ({{bbox}});

out;

e.g. Wicklow Way - off road

// "The Wicklow Way"

// https://www.openstreetmap.org/relation/2740#map=10/52.9875/-6.4263&layers=C

//relation[2740]({{bbox}});

//node[highway=path,name="The Wicklow Way"]({{bbox}});

//node[name="Wicklow Way"]({{bbox}});

(

relation[route=bicycle]({{bbox}});

way[highway=path][name="Wicklow Way"]({{bbox}});

way[highway=track][name="Wicklow Way"]({{bbox}});

way[highway=footway][name="Wicklow Way"]({{bbox}});

way[highway=unclassified][name="Wicklow Way"]({{bbox}});

node[amenity=shelter]({{bbox}});

);

/*added by auto repair*/

(._;>;);

/*end of auto repair*/

out;


e.g. Wicklow Way with some roads

(

//relation[route=bicycle]({{bbox}});

way[highway=path][name="Wicklow Way"]({{bbox}});

way[highway=path][name="Wicklow Way/Dublin Mountains Way"]({{bbox}});

way[highway=track][name="Wicklow Way"]({{bbox}});

way[highway=track][name="Wicklow Way/Dublin Mountains Way"]({{bbox}});

way[highway=footway][name="Wicklow Way"]({{bbox}});

way[highway=unclassified][name="Wicklow Way"]({{bbox}});

node[amenity=shelter][shelter_type=weather_shelter]({{bbox}});

way[highway=tertiary][name="Wicklow Way"]({{bbox}});

);

(._;>;);

out;

e.g. find the shelters on The Wicklow Way

// find the shelters on The Wicklow Way

node[amenity=shelter][shelter_type=weather_shelter]({{bbox}});

out;

e.g.  ecar charging station near Dublin, Ireland

(
  node["amenity"="charging_station"](around:50000,{{geocodeCoords:Dublin}});
  way["amenity"="charging_station"](around:50000,{{geocodeCoords:Dublin}});
  relation["amenity"="charging_station"](around:50000,{{geocodeCoords:Dublin}});
);
out;
>;
out;

e.g. recycling, bottle banks etc

 (

  node["amenity"="recycling"](around:50000,{{geocodeCoords:Dublin}});
  way["amenity"="recycling"](around:50000,{{geocodeCoords:Dublin}});
  relation["amenity"="recycling"](around:50000,{{geocodeCoords:Dublin}});
);
out;
>;
out;

Query-to-map


https://wiki.openstreetmap.org/wiki/Query-to-map

MAYBE TOO BIG an area to query ? too slow:  Maybe BROKEN ? 



select BBOX 

e.g. around Leopardstown Heights:
EXPORT => too big but it shows you bbox format:
https://www.openstreetmap.org/api/0.6/map?bbox=-6.2448%2C53.2532%2C-6.1834%2C53.2846
 = -6.2448,53.2532,-6.1834,53.2846

Learning about Overpass queries:

HELPFUL:
Your example – hospitals in a 50 km radius around Denver – might look like this
(
  node["amenity"="hospital"](around:50000,{{geocodeCoords:Denver}});
  way["amenity"="hospital"](around:50000,{{geocodeCoords:Denver}});
  relation["amenity"="hospital"](around:50000,{{geocodeCoords:Denver}});
);
out;
>;
out;
AROUND filter:

GOOD TUTORIAL:

Fun with Wales’ map data: a tutorial using Overpass queries and OpenStreetmap













OpenStreetMap query: show paths in Leadmines/Barnaslingan area

maps - osm query paths on leadmines - show in 3D view on google earth 
Jan 21, 2022, 5:59 PM 

1. select bbox area 

e.g. around Leopardstown Heights bigger area:

EXPORT => too big but it shows you bbox format:
https://www.openstreetmap.org/api/0.6/map?bbox=-6.2448%2C53.2532%2C-6.1834%2C53.2846
 = -6.2448,53.2532,-6.1834,53.2846

2. make a query to select nodes and ways 


2.1 and then export data export.{kml,gpx,osm,geojson} 


Also make an overpass account and sign in so you can save your queries. 

/*
This is an example Overpass query.
Try it out by pressing the Run button above!
You can find more examples with the Load tool.
node
  [amenity=drinking_water]
  ({{bbox}});
out;
*/

way["highway"](53.2140,-6.1687,53.2255,-6.1478);
(._;>;);
out meta;

// YES:
//(node (53.2140,-6.1687,53.2255,-6.1478); <;); out meta;

/*
Way bicycle=no/yes highway=track/cycleway/path/unclassified surface=dirt/earth/paved name=...
Node power=pole
Way cables=3 power=line/minor_line wires=single
Relation landuse=forest type=multipolygon
*/


3. Import the data KML into Google Earth


  1. On your computer, open Google Earth. 
  2. On the left, click Projects Projects. 
  3. Click the New Project button. 
  4. To add a file directly to your computer, select Import KML File.


Friday, 7 August 2020

AEDs on openstreetmap and/or Staying Alive app. (AED = Auto Emergency Defibrillators for heart attack situations)

For First Aid help at events it would be nice to check prior to events where might be the closest AED. 

We are helping out at Orienteering event in Marlay park this weekend (Family Friendly, see below).

One was used at Parkrun in Busky park April 2019. One was used up on Ticknock mountain bike trails a few months ago. 

https://www.facebook.com/dmpvr/posts/3138974512817077?comment_id=3140194639361731 July 5 2020 Biking.ie at Ticknock.

https://www.facebook.com/permalink.php?story_fbid=2382723055072030&id=1415668991777446 Bushy park incident April 2019.

 https://www.facebook.com/TicknockMountainBikeTrails/posts/were-delighted-to-announce-the-installation-of-an-aed-in-here-in-ticknock-a-mass/2682780371784683/ AED installed at Ticknock biking.ie bike hire shed/cafe.

https://www.facebook.com/BallinastoeMountainBikeTrails/posts/massive-thanks-to-coillte-who-part-funded-a-aed-for-ballinastoe-its-open-and-rea/3097017343658217/ AED installed at biking.ie Ballinastoe MTB bike hire shed.

https://www.facebook.com/SandyfordHall/posts/504624226328713 AED install at Sandyford Hall.

http://www.ecrr.ie/latest-news-and-events/category/aed East Cork Rapid Response

https://blog.parkrun.com/uk/tag/aed/ AED news installs/training/stories for Parkrun.


AED Maps, proprietary, closed source, . . 

There are some AED map apps and websites, some international, a couple of Irish, but information is not accessible unless you are qualified responder. Some First Aid training companies provide the apps, not sure do they share AED locations with each other. I have first aid cpr training but can't access the apps and contribute to adding locations of AEDs on these maps or even see the maps. Where you can see information it is incomplete or out of date. Anyway, an open-source, more publically accessible model would seem to be a better solution for recording AED locations. 

https://helpinghearts.ie/pages/aed-map-for-ireland   missing many locations

https://www.spservices.ie/news/Where-Is-My-Nearest-Defibrillator--AED_150.html UK. Not open to public. But looking for public to input and maintain database.  https://www.thecircuit.uk/  GoodSAM app for registered responders https://www.goodsamapp.org/

https://irishheart.ie/your-health/cpr/cpr-courses/aedsdefibrillators-save-lives/ "AED/defibrillator? Do you know where your nearest one is in an emergency?"  No, it's tricky to find out where one is. e.g. on Pearse Street in Dublin after a week of talking with people we figured out that Trinity Gym had one and we think Houghton Mifflin Harcourt - company beside Tesco have one. . . we think.

https://www.reddit.com/r/ireland/comments/34o74m/defibrillatorlocations/

desire for database . . . "council should provide a list"
https://www.rte.ie/news/2019/0810/1068128-dublin-defibrillator/
'phone box' public defibrillator the 'Heart of Stoneybatter'

Another phone box AED in Cobh. 
Dec 2019 "DEFIBRILLATOR MISSING FROM TOP OF THE HILL"
Here's a list of where you can find an AED (defibrillator) around Cobh in the event of an emergency:
Cobh Cabs
Curley's Spar - Top of the Hill
Cobh Community Centre
Garvey's Supervalu
Cobh Credit Union
Rushbrooke Tennis Club
Cobh GAA
Cobh Golf Club
Keatings Londis Plus
Cobh Hospital
Cobh town council office
Coral Leisure
Ballymore Community centre
Cobh heritage centre
Cobh Fire Station
Cobh Pirates
Carrignafoy Astro Pitch
Pat O Brien Soccer Pitch
Colaiste Muire
Cobh Cathedral
Carrignaloe train station
First Responder on-call
GP on-call
Ambulance

https://rocdoc.ie/aed-locations/ some AEDs installed around Ashbourne.


Canada PulsePoint App

AED search in google maps shows a few but not many

Ahhhh, finally!

APP called Staying Alive  https://www.stayingalive.org/

AEDMAP France http://aedmap.org/ in partnership with . . . 
You can optionally register as a citizen/other First Aid Responder.
You can edit the map and add AED locations.
And report problems with AED locations.


So anyway, it's a bit of a mess! :-P
Finding out where AED is unless you see it(in real life or by following facebook/twitter/.../local news) is tricky. If you are not local you won't be able to know where AEDs are.
The Staying Alive App seems best currently.




AED locations in OSM


In OSM we can see some AED locations are recorded but there have been a good few new AED devices installed in recent years and many are not on the map. SO . . it would be nice to add them into OSM and use OSM as the database of locations.

ISO 7010 E010.svg
TOOLS:
there are 28000 in the world (in the map)
we have 208 in Ireland  (in the map)

overpass-turbo tool show me where AEDs are (choose region and hit run):
http://overpass-turbo.eu/?template=key-value&key=emergency&value=defibrillator
USE THIS ONE:

Discussion . . . 

https://help.openstreetmap.org/questions/41537/why-aed-defibrillators-are-not-displayed-on-maps?

"It would be useful to show AED locations as in preparation for an event as First Aider where I am not immediately local I wish to look up where AEDs are located and then visit to check that there is one there. There are more AEDs installed here in Ireland in recent years but many of them are internal in buildings due to protection from vandalism. Even with talking to local people it is very difficult to find AED locations."

https://forum.openstreetmap.org/viewtopic.php?id=58770


Adding AED locations would be a good project for . . Scouts ?


How to get started on openstreetmap . . .

Open-Street-Map is an open source map. Anybody in the world can sign up and edit the map like wikipedia. Just like wikipedia you have to be careful and edit the map correctly and follow the correct procedures. There is a community of open-street-map people in Ireland and around the world that help each other to do this.

The best people to edit the map are local people with area knowledge who can visit the location and make sure the map is correct.

At https://www.openstreetmap.org/ click on Sign up or Log in, register as an Open-Street-Map user. Use an existing google account or email. 

At https://www.openstreetmap.org/ you will see an on-screen button to add map notes. That will let you drop a marker on the map with an explanation of what needs to change. But it is even better if you edit the map yourself and fix it. Each change is recorded and can be accepted or amended or removed by openstreetmap moderators. 

Some tutorials here:
https://www.youtube.com/channel/UCBjVzMkiYE0RVIbOoqezJHg/videos


If we search for "AED" in Openstreetmap . . it brings us to Andorra.
You see, computers are stupid. (I know, I know, when they do become sentient they will hunt me down, but for now they are still stupid). This search is mainly a location name search. Not a thing or POI search (POI == Point Of Interest).

There are different websites and apps that allow different sorts of searches on openstreetmap data. e.g. OSMAnd for Android phones allows searches, map browsing, direction routing. e.g. viewranger uses openstreetmap data with track recording, routing for hiking and cycling. One could develop an app which provided AED search (or more generally emergency tagged items search). 

There is an openstreetmap tool and website called overpass-turbo which allows a general search on OSM objects.
It looks like someone in Bray has added a good few AED locations. 
Maynooth university seems to have lots of AEDs.
You can click on each AED and see the tags added. e.g. this is common

  • access=yes
  • emergency=defibrillator
  • name=Defibrillator

Some are added with just one tag, but this does not make clear if access is private or permissive or free.

  • emergency=defibrillator

e.g. of other tags used . . .

defibrillator:location=wall mounted next to the entrance of Tesco
  • defibrillator:location=located on external wall before lighthouse at the end of the east pier
  • defibrillator:location=Fixed to the farmyard wall beside graveyard entrance. Harris's farm wall.
  • defibrillator:location=Located on the wall outside the door of Enfield Credit Union. The machine is enclosed in a secure box and there is a key code provided for access.
  • defibrillator:location=Fixed to the trellis fencing outside of Furey's Pub on the greenway path of the Royal Canal. The Defibrillator unit is fixed to the fencing and accessible 24/7
  • defibrillator:location=on the wall of Cadamstown National School gate entrance
  • emergency=defibrillator
  • opening_hours=24/7
  • indoor=no
  • indoor=yes
  • wheelchair=yes

e.g. access=permissive tag should probably be used here and phone numbers for Gardai

emergency=defibrillator
  • indoor=no
  • location=outdoor
  • note=Phone Mallow Gardai (+3532221105) for access code.
  • opening_hours=24/7
  • operator=Mallow Search & Rescue
  • phone=+3532221105;+353876353850;+353862316091

e.g. access=permissive tag should probably be used here
defibrillator:location=At the side of the Church as you enter the pedestrian gate. The unit is inside a green metal box with key pad. You must call 999 and specify your location. The emergency services operator will then give you the code.

e.g. sometimes unnecessary tags are used (one from Maynooth)

access=no
  • bicycle=no
  • description=Lifepak 1000
  • emergency=defibrillator
  • foot=yes
  • horse=no
  • indoor=yes
  • motor_vehicle=no
  • name=Stoyte House Defibrillator

e.g. sometimes note is used, perhaps defibrillator:location should be used.
note=beside staircase to beergarden

Some discussion of OSM forums:

Another project: add recycling centres, bottle banks etc:

https://www.dlrcoco.ie/en/recycling-waste/bring-banks

Orienteering in Marlay Park this Sunday 🏃‍♀️🏃🏻🚶🏼‍♂️🚶🏾‍♀️🏃‍♀️🏃🏻🚶🏼‍♂️🚶🏾‍♀️

I hope you are enjoying the holidays and warm interesting weather! 😀 There is some Orienteering in Marlay Park this Sunday 09 Aug. Start times 11:00-13:00. Family/Fun friendly Event. 🏃‍♀️🏃🏻🚶🏼‍♂️🚶🏾‍♀️We are helping out the club who are organising the event. It would be a good event for Scouts to go to or for the whole family (there is a cost 20 euros family entry though). Start/parking at College Road South entrance to park, cycle/walk if possible. 

More details: http://ajaxoc.blogspirit.com 

Pre-entry here (to make registration easier/safer):  

https://orienteering.ie/fixtures/marlay-park-7/

10/8/7/5 euros adult/child. 20 euros family entry.

Short 2.2km Medium 3.7km and long 6.4km courses. 

http://ajaxoc.blogspirit.com/media/00/01/1850444100.pdf  

Might see some of you there! 🏃‍♀️🏃🏻🚶🏼‍♂️🚶🏾‍♀️🏃‍♀️🏃🏻🚶🏼‍♂️🚶🏾‍♀️

Tuesday, 12 May 2009

confessed user of WhereAmI (OSM gps data collecting helper app)

http://wiki.openstreetmap.org/wiki/WhereAmI

With v0.11 whereami (on nokia E65) crashes out sometimes, phone resets other times. The E65 has bluetooth stability problems I think. I have seen phone do this with other bluetooth and not whereami. I did not lose .gpx info with crashes. I used up all memory on phone one time and lost last .gpx trace I had done. oops! Check your kids haven't been snapping tons of photos with your phone before OSMing!

http://www.symbianos.org/admin.php?nav=bugs&n=144&oldnav=bugs

With v0.13a after an initial .gpx collect (and maybe GSM cellids) I have an issue with whereami.db :( Need to follow instructions in FAQ: http://www.symbianos.org/faq/r=projectlink%3D47 The .db is not fully corrupt though. maps load fine. When I flip into named items view whereami crashes out.

Tuesday, 28 April 2009

aie! out of memory - lost a few kilometers

On way back from singing I cycle all around Fernleigh and Sandyford Hall.
Phone memory error just when finished.
When I opened the .gpx file I see everything it had on the latter part of journey is gone! :(
arg.

clearing off photos, videos, sound clips, .gpx files from phone ...

bluetooth also seems a bit flaky

Sunday, 26 April 2009

openstreetmap (oh, and b.t.w. Libertas are bad)

Ohhh Nassssty Libertas ad on my livejournal blog.
Please note: Libertas are bad untrustworthy evil etc...

>;-]

Filling in a blank bit of openstreetmap just now:
http://www.openstreetmap.org/index.html?mlat=53.26773641413781&mlon=-6.215411545071221&zoom=15

This is very handy figuring out the Irish street names:
http://www.logainm.ie/?text=mount+eagle+view (Radharc)
http://www.logainm.ie/?text=mount+eagle+way (Bealach)
http://www.logainm.ie/?text=mount+eagle+green (Faiche)
http://www.logainm.ie/?text=mount+eagle+drive (Céide)
http://www.logainm.ie/?text=mount+eagle+grove (Garrán)
http://www.logainm.ie/?text=mount+eagle+court (Cúirt)


I found and charged up my little GPS unit.

WhereAmI on mobile phone used to record track (gpx).
(very nice also download osm map onto phone)
http://www.symbianos.org/projects/47

Ubuntu/bluetooth gpx files to laptop.
JOSM to edit and upload map.