人员轨迹

简要描述:

  • 人员巡更路线

请求URL:

  • http://192.168.11.145/safe/route/person/trajectory

请求方式:

  • GET

参数:

参数名 必选 类型 说明 长度
personId Integer 巡更人员 ID 11
start String 开始时间(年-月-日 时:分:秒) 50
end String 结束时间(年-月-日 时:分:秒) 50

返回示例

{
    "msg": "success",
    "code": 0,
    "data": {
        "geometry": {
            "coordinates": [
                [
                    [
                        120.420317839,
                        36.137432555
                    ],
                    [
                        120.420356724,
                        36.137446892
                    ],
                    [
                        120.420386722,
                        36.137425198
                    ],
                    [
                        120.420474745,
                        36.137349526
                    ],
                    [
                        120.420515768,
                        36.137323308
                    ],
                    [
                        120.420599331,
                        36.137399549
                    ],
                    [
                        120.420671914,
                        36.137477339
                    ],
                    [
                        120.420715222,
                        36.137512087
                    ],
                    [
                        120.420768689,
                        36.137534232
                    ],
                    [
                        120.420940517,
                        36.137524841
                    ],
                    [
                        120.421200246,
                        36.137504972
                    ],
                    [
                        120.421204389,
                        36.137504656
                    ],
                    [
                        120.421239376,
                        36.137498549
                    ],
                    [
                        120.421363308,
                        36.137476917
                    ],
                    [
                        120.421394166,
                        36.137466501
                    ],
                    [
                        120.421526049,
                        36.137481449
                    ],
                    [
                        120.421713954,
                        36.137530995
                    ],
                    [
                        120.421934028,
                        36.137577593
                    ],
                    [
                        120.421992527,
                        36.13758998
                    ],
                    [
                        120.422219606,
                        36.137645994
                    ]
                ],
                [
                    [
                        120.420830232,
                        36.136566933
                    ],
                    [
                        120.420834097,
                        36.136567099
                    ],
                    [
                        120.420945236,
                        36.136606383
                    ],
                    [
                        120.421111185,
                        36.136667642
                    ]
                ],
                [
                    [
                        120.421111185,
                        36.136667642
                    ],
                    [
                        120.421144329,
                        36.136558775
                    ],
                    [
                        120.421051064,
                        36.136538483
                    ],
                    [
                        120.420973576,
                        36.136489313
                    ]
                ],
                [
                    [
                        120.421111185,
                        36.136667642
                    ],
                    [
                        120.421134463,
                        36.136676235
                    ],
                    [
                        120.421320097,
                        36.136703628
                    ],
                    [
                        120.421553255,
                        36.136708824
                    ],
                    [
                        120.421638557,
                        36.136708784
                    ],
                    [
                        120.421620972,
                        36.13676325
                    ],
                    [
                        120.421591558,
                        36.136854355
                    ],
                    [
                        120.421532445,
                        36.137037447
                    ],
                    [
                        120.421995843,
                        36.137136181
                    ],
                    [
                        120.422151976,
                        36.137169448
                    ],
                    [
                        120.422654507,
                        36.137276521
                    ]
                ],
                [
                    [
                        120.421243372,
                        36.135895773
                    ],
                    [
                        120.421192244,
                        36.136042243
                    ]
                ],
                [
                    [
                        120.421243372,
                        36.135895773
                    ],
                    [
                        120.421479857,
                        36.135948084
                    ],
                    [
                        120.421837918,
                        36.136027289
                    ]
                ],
                [
                    [
                        120.422219606,
                        36.137645994
                    ],
                    [
                        120.422436715,
                        36.137461548
                    ]
                ],
                [
                    [
                        120.422273268,
                        36.137600406
                    ],
                    [
                        120.422219606,
                        36.137645994
                    ]
                ],
                [
                    [
                        120.422638429,
                        36.13729018
                    ],
                    [
                        120.422436715,
                        36.137461548
                    ]
                ],
                [
                    [
                        120.422436715,
                        36.137461548
                    ],
                    [
                        120.422654507,
                        36.137276521
                    ]
                ],
                [
                    [
                        120.422654507,
                        36.137276521
                    ],
                    [
                        120.422654507,
                        36.137276521
                    ]
                ]
            ],
            "type": "MultiLineString"
        },
        "type": "Feature"
    }
}

返回参数说明

参数名 类型 说明
code int 状态码, 0:成功;其他:异常
message String 描述信息
data json geojson数据