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.

Maps
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
outputenum (JSON | XML)No返回数据格式类型 可选值:JSON,XMLJSON
coordsysenum (gps | mapbar | baidu | autonavi)No原坐标系 可选值: gps; mapbar; baidu; autonavi(不进行转换)autonavi
locationsstringYes坐标点 经度和纬度用","分割,经度在前,纬度在后,经纬度小数点后不得超过6位。多个坐标对之间用”|”进行分隔最多支持40对坐标。—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request 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
JSON
{
  "info": "ok",
  "infocode": "10000",
  "locations": "116.481499,39.990475|116.481499,39.990375",
  "status": "1"
}