Tile service

This endpoint provides the recommended way to render raster data in your apps. Mind that your mapping library will fill in the z, x and y parameters. You can pass both a style id as well as a custom style object. Click here to see how to define a style object.

Description

Retrieves tiff file of the given raster or a png file of the styled raster.

Endpoint

/path/{pathId}/raster/timestamp/{timestampId}/tile/{z}/{x}/{y}?token={token}

Method

GET

Access Level Rules

Minimum Access Level

view for visual and view+ when applyStyle is set to false

Processing Units

Minimum processing units

1

In case you wish to create visualizations of multiple raster layers in Ellipsis Drive use the stack endpoint that you can find here.

Parameters

Name
Description
Required
Default

pathId

The id of the raster layer.

true

timestampId

The id of the timestamp.

true

style

An id of a style to apply or an object describing a valid style. If not given original raster values are returned in tif format. Valid object for style can be found here: https://docs.ellipsis-drive.com/developers/api-v3/path-raster/styles/add-style

false

Default null.

x

The x coordinate of the tile.

true

y

The y coordinate of the tile.

true

z

The zoom level of the tile.

true

token

User’s login token.

false, token can also be passed in through the authorizationheader

Default null.

mask

A geojson polygon in wgs84 coordinates to mask the tileService.

false

Default null.

applyStyle

Boolean indicating whether to style the tile. If true a PNG is returned, else the style is ignored and a tiff file is returned instead.

false

Default true.

Last updated