Stack rasters
This endpoint allows you to stack raster data in multiple layers/timestamps. You can retrieve the raster stack as raw data of style it as a png.
Description | Retrieves a tif or png file of the (styled) raster stack. |
Endpoint |
|
Method | GET |
Access Level Rules
Minimum Access Level | view |
Processing Units
Minimum processing units | 1 |
Parameters
Name | Description | Required | Default |
---|---|---|---|
| An array of objects. Each object should have a pathId, timestampId and bandNumber. The mentioned bands will be stacked in the order they are in the array. | true | |
| An id of a style to apply. Or an object describing a valid style. Valid object for style can be found here: https://docs.ellipsis-drive.com/developers/api-v3/path-raster/styles/add-style | true | |
x | The x coordinate of the tile | true | |
y | The y coordinate of the tile | true | |
z | The zoom level of the tile | true | |
| Userβs login token. Default null. | false, token can also be passed in the header | |
| A geojson polygon in wgs84 coordinates to mask the tileService | false |
Example of a valid stack request
This creates a raster with two bands. Each band coming from the specified band, timestamp and layer combination.
Mind that the stack is only defined in places where all the bands making up the stack are defined. All other location will be transparent. If the referenced bands do not intersect anywhere there visualization will be transparent everywhere!
A valid style for the above mentioned stack would be:
This visualizes the difference between the first and second band in the stack.
Last updated