kylecorry31 / Trail-Sense

An Android app that uses your phone's sensors to assist with wilderness treks or survival situations.
https://kylecorry.com/Trail-Sense/
MIT License
1.23k stars 75 forks source link

Add overpass turbo query -> GPX to website #2587

Open kylecorry31 opened 1 month ago

kylecorry31 commented 1 month ago

Create a tool on the Trail Sense website that does the following:

  1. Allow the user to enter a region (maybe using a map view) or center point + distance
  2. Allow the user to enter the minimum peak height (in feet or meters)
  3. Execute the query using the Overpass Turbo API
  4. Download as a GPX file

After this is in place, link to it in the beacons user guide.

adryzz commented 1 month ago

I feel like this task can be accomplished using Overpass Turbo

i'm not particularly skilled with it, and i'm sure they can be narrowed down, but ALL mountain peaks sounds like a TON of data.

For example, this query shows all mountain peaks > 2000m in elevation. screenshot of overpass turbo showing thousands of results in the alps

(GPX export of the query, 4.5MB)

kylecorry31 commented 1 month ago

I feel like this task can be accomplished using Overpass Turbo

i'm not particularly skilled with it, and i'm sure they can be narrowed down, but ALL mountain peaks sounds like a TON of data.

For example, this query shows all mountain peaks > 2000m in elevation. screenshot of overpass turbo showing thousands of results in the alps

(GPX export of the query, 4.5MB)

That's a really cool tool, thank you for pointing this out

kylecorry31 commented 1 month ago

I'll look into providing a simple wrapper around that api on the website

kylecorry31 commented 1 month ago

I added that query to the user guide for beacons and modified this item to be about assembling a wrapper around it to host on the Trail Sense website