支持WGS84、GCJ02(火星坐标系)和BD09(百度坐标系)之间的相互转换,可将GPS经纬度数据转换为加密坐标或百度坐标系,适用于地理信息、导航等领域。
坐标系转换涉及三种常见坐标系统:GCJ02(如腾讯、高德、51地图)、WGS84(如手机GPS、Google地图)和BD09(如百度地图)。
showapi_res_body
curl -X POST "https://route.showapi.com/1252-1?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "from=WGS84&to=GCJ02&location=113.194329%2C23.234704%3B113.194329%2C23.234704"
{ "showapi_res_code": 0, "showapi_res_error": "", "showapi_res_id":"ce135f6739294c63be0c021b76b6fbff", "showapi_res_body": { "to": "GCJ02", "ret_code": 0, "resultList": [ { "input": [ 113.194329, 23.234704 ], "output": [ 113.19971018888167, 23.232115136208677 ] }, { "input": [ 113.194329, 23.234704 ], "output": [ 113.19971018888167, 23.232115136208677 ] } ], "from": "WGS84" } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-1252": { "url": "http://www.showapi.com.cn/mcp/1252/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033