Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mattsches

Pages: [1]
1
Troubles & Questions / Re: Display live positions from 3rd party tracker
« on: September 26, 2019, 16:52:58 »
Hi menion,

thanks a lot for your nice and helpful reply.

I got the Live Tracking approach working with my own server, great stuff! Only thing is that I needed to obtain a GPS fix (or use simulation mode) before Locus Map could successfully connect to the server.

And I was also puzzled that I had to publish my position, but I opted to just ignore it server-side *shrug*

However, up until now, I hadn't heard about KML NetworkLinks, thanks a lot for enlightening me ;) I think that this might be an even better option for my use case.

I will play around with both options for a bit and let you know how it works out.

2
Troubles & Questions / Display live positions from 3rd party tracker
« on: September 25, 2019, 11:03:02 »
Hi everyone,

I've been struggling with this for a while now: I want to use an Android app (preferably Locus Map, of course) to display the live positions of family members on a map. Just like Google Map or Locus Live Tracking - but using my own custom server as a backend.

And I want to use a 3rd party tracker (currently evaluating Owntracks, Traccar, Nextcloud Phonetrack) to report my (and other people's) position to my server.

Is Locus Map capable of automatically polling positions/geo coordinates from an arbitrary URL and displaying the respective icons on a map?

So the workflow is as follows: The tracker app (let's assume Owntracks) reports my wife's position to my server -> it's written into a DB or a file -> every minute or so Locus requests the lat/lon values from a specific URL (e.g. https://myserver.example/position.php?user=1) -> I see the position updated in Locus Map every 60s.

Maybe I'm thinking too hard, or maybe this is a strange use case? Yet that's what I'm trying to achieve.

I'd appreciate any help!

Regards,
Matthias

Pages: [1]