Skip to main content
Glama

TerraLab

Convert coordinates

convert_coordinates
Read-onlyIdempotent

Use this when the user gives coordinates in any common format (decimal degrees, degrees minutes seconds, UTM, MGRS, Lambert 93, "lat, lon" or "lon, lat") and wants them in another format or projection. The format of each line is detected automatically; for a national grid the numbers alone cannot reveal (Dutch RD, Swiss LV95, British National Grid, Polish 1992, Belgian Lambert 72) or a UTM zone given apart from the numbers, set source_epsg. Converts up to 1,000 lines to decimal degrees, DMS, UTM and MGRS (1 m), and optionally to an EPSG code. Also recommends the local projected CRS for working in QGIS. Returns a CSV and a GeoJSON download (both open directly in QGIS) and a map. Needs actual coordinates: to explain what a CRS, a projection or an EPSG code is, answer without this tool. Download links build their file when opened; no file is saved. Never pass these links to open_gis_file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesOne coordinate per line, up to 1,000 lines. A label may follow the numbers.
source_epsgNoOptional system the input is in, as an EPSG code, when it cannot be detected: Dutch RD EPSG:28992, Swiss LV95 EPSG:2056, British National Grid EPSG:27700, Poland 1992 EPSG:2180, UTM zone 32N EPSG:32632, ETRS89 or ED50 UTM EPSG:25830 / EPSG:23030. Leave out to detect each line.
target_epsgNoOptional extra output system as an EPSG code.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoError code, on errors only.
hintNoWhat to do next, on errors only.
messageNoError message, on errors only.
sourcesNoData sources and licences of the result.
downloadsNoDownload links; each builds its file when opened.
truncatedNo
totalFoundNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources