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

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

x

The x coordinate of the tile.

true

y

The y coordinate of the tile.

true

z

The zoom level of the tile.

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.

token

User’s login token.

false, a token can alternatively also be passed in through the authorization header

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.

epsg

Integer representing the epsg of the alternative crs to use. Default is web mercator.

false

Default 3857.

Last updated

Was this helpful?