User Manual
Version 7.6
×

Get Track data

 
Example:
https://<address>/api/api.php?cmd=gettrack
 
Parameters:
cmd : gettrack
id : track identifier from rungeo request
 
Request:
https://<address>/api/api.php?cmd=gettrack&id= 70685695
http://blade.pilot-gps.ru/api/api.php?node=1&cmd=gettrack&id= 70685695
 
Data format:
unixstarttimestamp - track start date in GMT
track_data - track points separated by ":" 
each point consist of four values separated by ";"
  • lat
  • lon
  • speed
  • Unixtimestamp points
     
    Answer:
{
   "track_data": "47.2037;39.6325;10;0:47.2037;39.6324;13;1:47.2037;39.6323;15;3:47.2036;
39.6304;22;59:47.2035;39.6283;41;73:47.2035;39.6263;35;87:47.2035;39.6243;45;
102:47.2034;39.6223;39;114:47.2035;39.6217;16;120:47.2035;39.6217;15;
121:47.2035;39.6217;16;122:47.205;39.6216;37;138:47.2064;39.6215;
35;154:47.2077;39.6214;13;189:47.2077;39.6213;9;191:47.2077;
39.6212;12;193:47.2077;39.6192;31;211:47.2077;39.6171;18;249:47.2077;
39.616;0;309:47.2077;39.616;7;327:47.2076;39.6148;0;387:47.2076;39.6148;7;426",
"track_id": 70685695,
"unixstarttimestamp": 1439443509
}