ketan / paragliding-meshmap

Meshtastic map for paragliding pilots in India
https://tracker.bircom.in
MIT License
3 stars 1 forks source link

Identify potential nodes of concern #63

Open cyberorg opened 1 month ago

cyberorg commented 1 month ago

Any active non-static node stationary for over 30 min outside 1KM of LZ could be marked in orange.

Not sure if there is a way to get AGL, it could be used to detect someone is in air, check AGL outside the LZ radius, compare change in AGL, if AGL is > 200M the device is in air, if it stays below 50M for half an hour after being seen > 200M then the glider could be in trouble. On map it would be easy to see if they landed in a clear area.

This might help: https://chatgpt.com/share/5ee30271-d04a-4995-ac39-8122a7e97b8c

stefwalter commented 1 week ago

After chatting with @ketan ... idea is to use the SRTM Shuttle Radar Topography Mission

We can use this NPM package:

https://www.npmjs.com/package/srtm-elevation

Current thinking is to get the dataset locally for the server to query, rather than using an API to a third party service.

Fetching URLs like this (per lat, long pair) seems to work (this is for N57, E011):

https://srtm.fasma.org/N57E011.SRTMGL3S.hgt.zip

cyberorg commented 1 week ago

New idea we discussed is to detect flying nodes and mark them in Blue, the ones on the ground green and those offline marked same as now.

AGL > 50M and speed > 5 km/h could be used to detect flying nodes.