This object is in archive! 

Live Tracking - option to track only when moving

Michael Grube shared this idea 9 years ago
Completed

Hi!


I recently experimented with the live tracking feature - defined a URL and some parameters, wrote me a PHP script to log the incoming stuff to a MySQL database and it works just great.


Anyhow, I miss the option to log/track only when moving (like the on that is available in the "normal" tracking) very much. It would be very useful for the live tracking functio to save IP traffic when mot moving.


Mike

Replies (5)

photo
1

Hallo Michael

look into your live tracking profile to "update" -> seconds, meters and required accuracy

are the settings not working for you?

photo
1

Yup, right, you're correct. Tried it, works


Why didn't I think enough? :-)


Mike

photo
1

Glad you solved it and thanks gynta for a help!

photo
1

hi Michael,


May I ask how are you able to set-up your mySQL database to receive the gps logs from your mobile to your defined URL.

Thank you.

photo
1

Hi!


Well, that's not too hard in PHP - but if you're unable to do it yourself, you will most likely be unable to do anything useful with my "quick and dirty" code sbippet. It doen'z do much but sanitize the GET parameters of the URL and put them in a database table. There's other code involved that runs as a cronjob that reads the db table and build a KML from it, wrapped by a shell script that makes a KMZ from the KML and does lots of other things. But as I said - all that is custom, quick, dirty undocumented code with hardcoded configuration.


Most important: I do not have time to make it a nice, documented, rélease-ready project or to back it up with any support at all.


Sorry


Mike

Replies have been locked on this page!