get_raster_crs
Retrieve the Coordinate Reference System (CRS) of a raster dataset, returning both PROJ.4-style dict and WKT formats. Use with local paths or HTTPS URLs to identify spatial reference details.
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.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path_or_url | Yes |
Input Schema (JSON Schema)
{
"properties": {
"path_or_url": {
"title": "Path Or Url",
"type": "string"
}
},
"required": [
"path_or_url"
],
"title": "get_raster_crsArguments",
"type": "object"
}