bilde2910 / Hauk

Open-source realtime location sharing
Apache License 2.0
589 stars 59 forks source link

Destination and ETA #189

Open schnillerman opened 1 year ago

schnillerman commented 1 year ago

Hi, love the app!

A feature that would be really useful: tracking towards a destination with different routing profiles (car, foot, bike etc) that is calculated when shared link is opened (sharer only provides location, destination and profile to destination).

Glympse has such a feature and I always use it.

Lots of kudos!

licaon-kter commented 1 year ago

That's more like another app in itself say OrganicMaps or OSMAnd

schnillerman commented 1 year ago

OrganicMaps and OSMAnd only support sharing current location (without destination and ETA).

As I said, Glympse provides this functionality, but it's not self-hosted.

licaon-kter commented 1 year ago

I meant as, use those other apps to tell you how long the trip (might) take.

How does the other app do it? It needs to calculate the route? You want Hauk (the app) to do this for you? The PHP frontend on my Raspberry Pi1? Why do this when those 2 apps already do this, and better.

schnillerman commented 1 year ago

I meant as, use those other apps to tell you how long the trip (might) take.

That wasn't my original intent. Any tracking app can do this, no big deal. My intent was to SHARE the ETA and position/progress on a pre-defined track/routing.

How does the other app do it? It needs to calculate the route?

Of course, it needs to calculate and update the calculation if route is diverted. My guess is that it uses a google maps API.

You want Hauk (the app) to do this for you?

Yes.

The PHP frontend on my Raspberry Pi1?

I don't know, I use docker on my NAS. And route calculation can be done offline even on my android using BRouter or any open maps app that supports offline (street) maps, so if an android phone can do it, an rpi is probably not so much worse?

Why do this when those 2 apps already do this, and better.

Because they're not self-hosted, and only one app does it: Glympse.

licaon-kter commented 1 year ago

This sounds like a better proposal for OSMand or OrganicMaps instead, eg. Add a plugin to submit to Hauk position, destination, eta.

Eg. While driving you'd use BOTH osmand to route you AND hauk to share location? Feels like a duplicate effort

While an osmand plugin might be easier to implement.