coordinate_convert
Convert coordinates from GPS, Baidu, Mapbar, and other systems to AMap's GCJ02 standard. Processes up to 40 points at once for map compatibility.
Instructions
将其他坐标系的坐标转换为高德坐标系(GCJ02),支持GPS、百度、图吧等多种坐标系。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locations": "<locations>"
},
"name": "coordinate_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coordsys | No | 原坐标系类型:gps=GPS坐标(WGS84),mapbar=图吧坐标,baidu=百度坐标(BD09),autonavi=高德坐标(GCJ02) | gps |
| locations | Yes | 需要转换的坐标,多个坐标用";"分隔,格式:"经度1,纬度1;经度2,纬度2",最多支持40个坐标点 |