transform-coordinates
Convert coordinates between any coordinate systems using EPSG, WKT, or Proj formats for source and target CRS.
Instructions
在不同坐标系统之间转换坐标,支持EPSG、WKT和Proj格式的坐标系统
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": {
"source_crs": "<source_crs>",
"target_crs": "<target_crs>",
"coordinates": "<coordinates>"
},
"name": "transform-coordinates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_crs | Yes | 源坐标系统,支持以下格式: 1. EPSG代码 (如:EPSG:4326) 2. WKT格式 (如:GEOGCS["WGS 84",DATUM[...]]) 3. Proj格式 (如:+proj=longlat +datum=WGS84) | |
| target_crs | Yes | 目标坐标系统,支持以下格式: 1. EPSG代码 (如:EPSG:4326) 2. WKT格式 (如:GEOGCS["WGS 84",DATUM[...]]) 3. Proj格式 (如:+proj=longlat +datum=WGS84) | |
| coordinates | Yes |