get_raster_crs
Retrieve the Coordinate Reference System (CRS) from a raster dataset. Supports local paths and HTTPS URLs, returning both PROJ.4 dict and WKT representation.
Instructions
Retrieve the Coordinate Reference System (CRS) of a raster dataset.
Opens the raster (local path or HTTPS URL), reads its DatasetReader.crs attribute as a PROJ.4-style dict, and also returns the WKT representation.
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": {
"path_or_url": "<path_or_url>"
},
"name": "get_raster_crs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path_or_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||