Showing posts with label maps. Show all posts
Showing posts with label maps. 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, 14 October 2022

Route card for Kippure Hike - komoot app works nicely

You can use App like e.g. komoot.com to help draw route and fill in route card details.
komoot is the latest favourite as you can draw route on phone or at computer.
You can take distances travelled and height gain/loss from app.
App also helps estimate pace - komoot adjusts estimate depending on incline and track type and surface.
I have been doing a few route cards in google sheets.

Add a new tab duplicate of Blank Template when new route is to be done:
Anyone should be able to view that and make a copy for their own use.
Be careful if sharing - you don't leak your hike details to general public until after you do your hikes.
Access restricted but I can share it if you would like to see - just request access.

PROCEDURE: Duplicate route card Blank Template ...

0. fill in title, date, start time 1. Draw route in app and publish. 2. Fill in each waypoint description (following your route in app). 3. fill in Grid ref/lat long and Altiture and Total dist (use app) Optionally use irish.gridreferencefinder.com to fill in ITM grid refs 4. for each segment (view route and select segment can help) fill in Bearings, height climb/fall and incline, length 5. fill in route note e.g. "no path" "follow forest track then hill path" 6. Add up segment lengths and altitude gain/loss and check with total. 7. Fill in estimated time (time with no breaks) 8. add in break/lunch/view point/other stop times 9. Add in Escape notes. 9. Review card, verify distance, height gain/loss, surface and times. 

Break complicated legs into 2 or more by adding rows. 

Route can be shared first with other Scouters and with Scouts for planning.


Print to .pdf and share for non google sheet users.

https://drive.google.com/file/d/1r4q_XtAPxNcmxoSoyZgkX_pZ9Tr-MDOV/view?usp=sharing .pdf

 (access restricted but I can share no problem it after we have done hike - just request access)

e.g. also save .gpx and .kml files from App for load into other map apps and other uses:

https://drive.google.com/file/d/14QGkl4F2X8Nlt93fQa61HXUkrcAMjQTi/view?usp=sharing .gpx




Also, how to embed komoot route view in Google Doc.

Make a local .html file and paste in embed content. 

Open that local .html file in your browser (start with link file:///), select the embedded komoot, Copy and then Paste into google doc. 

embed map kippure komoot




Saturday, 23 May 2020

lifeHack: edit route in viewRanger, export gpx, upload to google drive, import into BeeLine app, follow route.

Went for a #within5km bigish cycle on the weekend.
I used the Beeline device and found that it worked quite well.

Long long ago with a motorola phone I found the Bluetooth and Beeline device lost communication with each other too often so it just didn't work :-(. Nowadays I have a Huawei P9 and it works well.

Happy with this process: Edit the route in viewRanger, exported to gpx, upload to google drive, import into BeeLine app, follow route. What I _actually_ did was start editing route in Beeline app, that was not great for the route up over the forest trails, so I looked into editing route in Strava. Found that yes, I could do that if I start a free 60 day Strava subscription. I found you can import any .gpx into Beeline**. (**later discovered any .gpx BUT Android app limits importing file from a small set of slightly inconvenient locations on phone AND seems to not find .gpx files in certain folders ? - that part of the app needs some work). So I edited route quickly in ViewRanger, routing for bike, turning off routing where open-street-map route did not know about connections. Routing for bike in ViewRanger on occasion actually finds some new cycle paths that I didn't know about and are good route options. So happy with that! Then as I have said importing the .gpx file into the Beeline app was not as straightforward as it might have been!! I used filemanagers to copy the .gpx file to various locations but the Beeline app still didn't seem to pick up the file. Finally putting the .gpx file into google drive and import into Beeline worked. Then follow route.

The route created: 55km circuit including some forest trails, mostly on road:
https://my.viewranger.com/route/details/MzA1MDc0Nw==

On following the route the beeline device is mostly intuitive.
It moves on automatically to next route point.

But if I skipped a part of route or bypassed a point the Beeline stayed pointing to the last route point.
(It sort-of makes sense you cannot automatically move on as routes could loop or re-use points but it would not be that hard to check in software that your route doesn't overlap or re-use points.) I found later how to do it on device. The route arrow should go black, then you can tap on the top arrow and re-route journey == move routing on to next point.
https://ridebeeline.zendesk.com/hc/en-us/articles/360020956713-Route-Mode-vs-Compass-Mode
Or do what I did. In app on phone tap on arrow. There you can move forward or backwards through route points. Ok as I had phone in holder on my bike handlebars.

Anyway, track of the route: Within 5km Dublin Road Cycling 23 May 2020
18:40 to 22:43 == 4 hours.
Total distance: 54 km
Altitude gain: 831m
https://my.viewranger.com/track/details/MTQzNDAzMzM=

Used Beeline device to follow the route.
On forest trails with my regular commuter bike.

Highlights: JUDDERY arms and ass area well rattled and massaged to itchy rash extreme heat point from the long gravelly downhill Three Rock to Kilmashogue without suspension.
Explored the new not open Tully Church Laghanstown Park area, amused to encounter working traffic junctions on the new disconnected roads.


Process or work flows:

#1 edit route in Beeline app, follow route.

Limited to Beeline app map views map/terrain/satellite/hybrid.
Which is ok.
Can turn Route mode on or off.

#2 edit route in viewRanger, export gpx, upload to google drive, import into BeeLine app, follow route.

Route editing in viewRanger is a bit clunky but it gives you nice cycling/hiking options, better map views, combined routing and non-routing control.

Importing .gpx into Beeline app on android was a bit annoying. It would import from certain folders only, Images, Videos, . . . Not from viewRanger folder. Not from downloads folder. Eventually putting the .gpx file into drive and importing from there worked.

#3 edit route in Strava, import route directly in BeeLine app, follow route. (requires 

Beeline imports Strava routes natively.
But you have to pay for a regular Strava subscription to be able to edit routes beyond the free 60 days.


Beeline here is not the Russian mobile telephone company but the Beeline bluetooth GPS device.

Not the Droids:

https://en.wikipedia.org/wiki/Beeline_(brand) Vimpelcom Russian telecommunications

https://en.wikipedia.org/wiki/Beeline_(software_company)  SAAS Workforce Management

Yes the Droids:

https://www.kickstarter.com/projects/ridebeeline/beeline-smart-navigation-for-bicycles-made-simple/posts

https://beeline.co/ Simple, navigation for bikes/motorcycles
Simple interface.
Good design.
An arrow, pointing at destination (or next route turning point) and distance.
Clear display visible in sunlight or backlit visible in the dark.
Cute and robust design (so far).

The phone does the grunt work GPS location on and Bluetooth to communicate with Beeline.

Beeline

Saturday, 11 September 2010

Bus Eireann Route Plan: unintended scenic diversion


This is quite funny if you know Limerick. The route planner adds in 5 bus trips to cover a short distance in the city center.

Dublin to University of Limerick, via Limerick city centre and a selected tour of the city centre and a suburb. Fionnuala was hoping that perhaps the Dublin Bus might still stop at the University on the way.

Beware tourists and computer users everywhere!

:)

Tuesday, 30 June 2009

Helicopter Coast View Around Cork Harbour, wget and ffmpeg fun

Video here:
http://www.youtube.com/watch?v=5TVB7KPXAts

Image data Copyright:
http://gis3.dcmnronline.ie/imf5104/imf.jsp?site=Helicopter
It would be nice if GIS info were available to taxpayers! poke. poke.
And if GIS browsing site had more features.
Basic bookmarking/linking would be nice.
Anyone want to write a cloudy app?
It's not fantastically wonderful data really .. maybe,


BASEURL=http://gis3.dcmnronline.ie/sorted/
for (( i=87198 ; i<=88123 ; i++ )) ; do
echo i=$i;
wget -c $BASEURL/$i.jpg ;
done

for (( i=87198,j=0 ; i<=88123 ; i++,j++ )) ; do
ln -s $i.jpg $j.jpg;
done

# -r is framerate in fps, -b bitrate
FFFLAGS=-title 'Helicopter Coast Cork Harbour http://gis3.dcmnronline.ie/imf5104/imf.jsp?site=Helicopter'
ffmpeg $FFFLAGS -r 3 -b 1800 -i helisound.mp3 -i %d.jpg HelicopterCoastCorkHarbour.mp4

# ugh, yes. sorry about the audio
# 995 images, 8M video.



http://gis3.dcmnronline.ie/output/ENG_HELICOPTER_dcmnrgis-web134762684331.png

http://gis3.dcmnronline.ie/sorted/87685.jpg
Cuskinney, Cobh

http://gis3.dcmnronline.ie/sorted/87654.jpg
The slip in Cobh

http://gis3.dcmnronline.ie/sorted/100741.jpg
Dublin joyce martello tower sandycove

http://gis3.dcmnronline.ie/sorted/104513.jpg
Dundalk

http://gis3.dcmnronline.ie/sorted/1.jpg
Throat of malin

87k * 100000 images = 8700000k = 8.7G
Hmmmmm >;)

http://gis3.dcmnronline.ie/sorted/88123.jpg
out to R of Roches Point (and of Cork harbour)

http://gis3.dcmnronline.ie/sorted/87198.jpg
well out of (Cork) harbour to left


http://en.wikipedia.org/wiki/HNLMS_Amsterdam_(A836)
http://www.defensie.nl/marine/operationeel/schepen/hr_ms_amsterdam/

http://gis3.dcmnronline.ie/sorted/87638.jpg
http://gis3.dcmnronline.ie/sorted/87639.jpg
http://gis3.dcmnronline.ie/sorted/87640.jpg
http://gis3.dcmnronline.ie/sorted/87641.jpg
http://gis3.dcmnronline.ie/sorted/87642.jpg

87638 bow -> 42 stern


http://gis3.dcmnronline.ie/imf5104/imf.jsp?site=Helicopter