Amap Maps Get V3 Assistant Coordinate Convert
1 credits/call
ae_amap_maps_get_v3_assistant_coordinate_convert
Convert coordinates from GPS, Baidu, or other systems to Amap format.
1 credits/call
Pricing
1 credits/call
| Condition | Charge |
|---|---|
| Each call | 1 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
output | enum (JSON | XML) | No | 返回数据格式类型 可选值:JSON,XML | JSON |
coordsys | enum (gps | mapbar | baidu | autonavi) | No | 原坐标系 可选值: gps; mapbar; baidu; autonavi(不进行转换) | autonavi |
locations | string | Yes | 坐标点 经度和纬度用","分割,经度在前,纬度在后,经纬度小数点后不得超过6位。多个坐标对之间用”|”进行分隔最多支持40对坐标。 | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_amap_maps_get_v3_assistant_coordinate_convert' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"coordsys": "autonavi",
"locations": "116.481499,39.990475|116.481499,39.990375",
"output": "JSON"
}
}'Response exampleresponse.json
{
"info": "ok",
"infocode": "10000",
"locations": "116.481499,39.990475|116.481499,39.990375",
"status": "1"
}
