# Upload raster file

| **Description** | Uploads a raster file as multipart form              |
| --------------- | ---------------------------------------------------- |
| **Endpoint**    | `/path/{pathId}/raster/timestamp/{timestampId}/file` |
| **Method**      | POST                                                 |

## Access Level Rules

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

## Processing Units

| **Minimum processing units** | 2 |
| ---------------------------- | - |

### Parameters

<table><thead><tr><th>Name</th><th width="351">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>timestampId</code></td><td>The id of the timestamp the upload is for.</td><td>true</td><td></td></tr><tr><td><code>name</code></td><td>The name of the file to be uploaded.</td><td>true</td><td></td></tr><tr><td><code>data</code></td><td>The file to be uploaded.</td><td>true</td><td></td></tr><tr><td><code>epsg</code></td><td>The epsg of the file as an integer. Required if the file itself does not contain a coordinate system.</td><td>false</td><td>Default null.</td></tr><tr><td><code>format</code></td><td>The format of the file.</td><td>false</td><td>Default "tif".</td></tr><tr><td><code>noDataValue</code></td><td>A value to use as no data value.</td><td>false</td><td>Default null.</td></tr><tr><td><code>mosaicPriority</code></td><td>An integer indicating the order to mosaic the files in. Higher means on top.</td><td>false</td><td>Default null.</td></tr></tbody></table>
