reclassify_raster
Reclassify raster values by mapping old cell values to new ones using a dictionary, for custom recoding in geospatial analysis.
Instructions
Reclassify raster values using a mapping dictionary. Args: raster_path: Path to the input raster. reclass_map: Dictionary mapping old values to new values (e.g., {1: 10, 2: 20}). output_path: Path to save the reclassified raster. Returns: Dictionary with status and message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raster_path | Yes | ||
| reclass_map | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||