| 参数名 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
locations |
string | 必填 | 113.782914,36.090589 |
原坐标点(经纬度),经度和纬度用","分割,经度在前纬度在后。多个坐标用"|"分隔。示例:116.481499,39.990475 |
coordsys |
string | 必填 | GCJ02 |
原坐标系,可选值:WGS84(GPS)、GCJ02(国家测绘局/高德/谷歌中国)、BD09(百度坐标系)。示例:GCJ02 |
coordsfh |
string | 必填 | WGS84 |
目标坐标系,可选值:WGS84(GPS)、GCJ02(国家测绘局/高德/谷歌中国)、BD09(百度坐标系)。示例:WGS84 |
| 字段名 | 类型 | 说明 |
|---|---|---|
code | int | 状态码,0=成功 |
desc | string | 状态描述 |
data− |
object | 业务数据(成功时返回) |
output_coordsfh |
string | 转换后的坐标系,如:WGS84 |
output_locations |
string | 转换后的坐标(经纬度),多个坐标用"|"分隔 |
request_id | string | 请求追踪ID |
{
"code": 0,
"desc": "success",
"data": { ... },
"request_id": "abc123..."
}
{
"code": 999,
"desc": "错误描述",
"request_id": "abc123..."
}
© 网程科技(林州网程科技有限公司) | 豫ICP备2025120409号-2 | 豫B2-20230220 | 豫公网安备 41058102000262号