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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path_or_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||