Geometry primitivesFree
coordinate_transform
Riproietta una geometria WKT da uno SRID a un altro. Entrambi gli SRID devono essere nell'allowlist curato: 4326 (WGS84), 3857 (Web Mercator), 3003/3004 (Gauss-Boaga Italia), 4258 (ETRS89), 6707/6708 (RDN2008 / Italia), 32632/32633 (UTM 32N / 33N).
Use cases
- Converti coordinate Gauss-Boaga (EPSG:3003) legacy in WGS84 per mappatura.
- Riproietta un poligono OMI (spesso in 32632) in 4326 per allinearlo agli altri tool.
- Manda bounds Web Mercator (3857) a un client Leaflet/MapLibre.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| geom_wkt | string | required | Input WKT. |
| from_srid | integer | required | Source SRID (allowlist). |
| to_srid | integer | required | Target SRID (allowlist). |
Example request
curl
bash
curl -X POST https://mcp.qubitdata.it/mcp \
-H "Authorization: Bearer $QUBITDATA_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "coordinate_transform",
"arguments": {
"geom_wkt": "POINT(1518000 5034000)",
"from_srid": 3003,
"to_srid": 4326
}
}
}'
Example response
JSON-RPC 2.0 result
json
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "{\n \"wkt\": \"POINT(9.1900 45.4642)\",\n \"from_srid\": 3003,\n \"to_srid\": 4326\n}"
}
]
}
}
Prompt da provare
Incollali in Claude Desktop, Cursor o un qualsiasi client MCP collegato a https://mcp.qubitdata.it/mcp.
-
Claude Desktop
Converti POINT(1518000 5034000) da EPSG:3003 a EPSG:4326.
-
Cursor
Riproietta ogni poligono del mio batch da 32632 a 4326.
-
Client MCP custom
Proietta i bounds WGS84 in Web Mercator per la mappa front-end.
Related tools
geometry_ops · geometry_validate
Get started
Registrati per una free key e richiama il tool dal tuo agente. Servono cap geografici più ampi o quota più alta? Vedi pricing.
Last updated: