Руководство пользователя
Версия 7.6
×

Отчет по движению с гео-привязкой

 
 
Пример:
https://<address>//api/api.php?cmd=rungeo
 
Параметры:
cmd : rungeo
imei : идентификатор объекта в системе
start : время начала выборки
stop : время окончания выборки
 
Запрос:
https://<address>/api/api.php?cmd=rungeo&imei=356307045913463&start=1439413200&stop=1439586000
 
Формат запрошенных данных :
{
"code": 0,
"msg": "OK",
"tracks": {
"1439443509": {
"avgspeed": 35.3889,
"egeo": {
"city": "Rostov-on-Don",
"city_district": "Sovetsky District",
"country": "Russian Federation",
"country_code": "ru",
"county": "Rostov-on-Don Urban District",
"house_number": "80 к13",
"postcode": "344091",
"road": "2-ya Krasnodarskaya Street",
"state": "Rostov Oblast",
"suburb": "ЗЖМ"
},
"elat": "47.2037",
"elon": "39.6325",
"length": 12.7304,
"maxspeed": 59,
"sgeo": {
"city": "Rostov-on-Don",
"city_district": "Sovetsky District",
"country": "Russian Federation",
"country_code": "ru",
"county": "Rostov-on-Don Urban District",
"house_number": "80 к13",
"postcode": "344091",
"road": "2-ya Krasnodarskaya ulitsa",
"state": "Rostov Oblast",
"suburb": "ЗЖМ"
},
"slat": "47.2037",
"slon": "39.6325",
"te": 1439445837,
"ts": 1439443509
},
"1439453807": {
"avgspeed": 34.5337,
"egeo": {
"city": "Rostov-on-Don",
"city_district": "Oktyabrsky District",
"country": "Russian Federation",
"country_code": "ru",
"county": "Rostov-on-Don Urban Okrug",
"house_number": "8",
"postcode": "344064",
"road": "Dachnaya Street",
"state": "Rostov Oblast",
"suburb": "Kamenka"
},
"elat": "47.2593",
"elon": "39.6799",
"length": 21.2731,
"maxspeed": 72,
"sgeo": {
"city": "Rostov-on-Don",
"city_district": "Oktyabrsky District",
"country": "Russian Federation",
"country_code": "ru",
"county": "urban okrug Rostov-on-Don",
"house_number": "8",
"postcode": "344064",
"road": "Dachnaya ulitsa",
"state": "Rostov Oblast",
"suburb": "Kamenka"
},
"slat": "47.2593",
"slon": "39.6799",
"te": 1439458898,
"ts": 1439453807
},
"1439480652": {
"avgspeed": 31.3939,
"egeo": {
"city": "Rostov-on-Don",
"city_district": "Leninsky District",
"country": "Russian Federation",
"country_code": "ru",
"county": "Rostov-on-Don Urban Okrug",
"house_number": "25",
"postcode": "344008",
"road": "ulitsa Oborony",
"state": "Rostov Oblast",
"suburb": "Novoye Poselene"
},
"elat": "47.2155",
"elon": "39.7042",
"length": 8.63531,
"maxspeed": 68,
"sgeo": {
"city": "Rostov-on-Don",
"city_district": "Leninsky District",
"country": "Russian Federation",
"country_code": "ru",
"county": "Rostov-on-Don Urban Okrug",
"house_number": "25",
"postcode": "344008",
"road": "ulitsa Oborony",
"state": "Rostov Oblast",
"suburb": "Novoye Poselene"
},
"slat": "47.2155",
"slon": "39.7042",
"te": 1439486419,
"ts": 1439480652
},
"1439532322": {
"avgspeed": 35.1732,
"egeo": {
"city": "Rostov-on-Don",
"city_district": "Sovetsky District",
"country": "Russian Federation",
"country_code": "ru",
"county": "Rostov-on-Don Urban District",
"house_number": "135",
"postcode": "344091",
"road": "2-ya Krasnodarskaya Street",
"state": "Rostov Oblast",
"suburb": "ЗЖМ"
},
"elat": "47.2039",
"elon": "39.6346",
"length": 20.3338,
"maxspeed": 79,
"sgeo": {
"city": "Rostov-on-Don",
"city_district": "Sovetsky District",
"country": "Russian Federation",
"country_code": "ru",
"county": "Rostov-on-Don Urban Okrug",
"house_number": "135",
"postcode": "344091",
"road": "2-ya Krasnodarskaya Street",
"state": "Rostov Oblast",
"suburb": "ЗЖМ"
},
"slat": "47.2039",
"slon": "39.6346",
"te": 1439539157,
"ts": 1439532322
}
}
}