批量坐标转换
基本信息
Path: /api/v2/tools/coordinates/transform
Method: POST
接口描述:
请求参数
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 | ||
Body |
{
//要转换的坐标数据[[lng,lat],[lng,lat]]
"coordinates": [
[
112.97350797016468,
30.47419778026259
],
[
112.97365745017939,
30.47417937407133
],
[
112.97385477899691,
30.47397188632077
]
],
"s": "GCJ02",//源坐标系
"d": "WGS84"//目标坐标系
}
返回数据
{
"Code": 0,
"Desc": "成功",
"Message": [
[
112.9677902289985,
30.476810202249112
],
[
112.96793921348451,
30.476791411214496
],
[
112.9681359031585,
30.47658346418324
]
],
"extData": {}
}