> For the complete documentation index, see [llms.txt](https://docs.ellipsis-drive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ellipsis-drive.com/developers/api-v3/path-raster/edit-raster.md).

# Edit Raster

| **Description** | Edit raster attributes  |
| --------------- | ----------------------- |
| **Endpoint**    | `/path/{pathId}/raster` |
| **Method**      | PATCH                   |

### Access Level Rules

| **Access Level** | edit+ |
| ---------------- | ----- |

### Processing Units

| **Processing units** | 2 |
| -------------------- | - |

### Parameters

<table><thead><tr><th width="252">Name</th><th width="386">Description</th><th>Required</th><th>Default</th></tr></thead><tbody><tr><td><code>pathId</code></td><td>The id of the raster layer.</td><td>true</td><td></td></tr><tr><td><code>interpolation</code></td><td>The interpolation method to be used. Must be 'nearest' for nearest neighbour interpolation, 'linear' for linear interpolation or 'autoDetect' for auto detection of interpolation.</td><td>false</td><td>Default null.</td></tr><tr><td><code>includesTransparent</code></td><td>Boolean whether the last band of uploaded rasters is the transparancy band.</td><td>false</td><td>Default null.</td></tr><tr><td><code>compressionQuality</code></td><td>Integer between 0 and 100 indicating the quality to maintain when using lossy compression.</td><td>false</td><td>Default null.</td></tr></tbody></table>
