Friday 7 April 2023

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.


No comments: