Skip to content

Endpoints

/

Returns a welcome message. Useful for checking if the API is running.

/tiles/{z}/{x}/{y}.png

Returns a tile image in PNG format for a given GeoTIFF.

ParameterTypeInDescription
zintegerpathZ coordinate of the tile (zoom level).
xintegerpathX coordinate of the tile.
yintegerpathY coordinate of the tile.
tifstringqueryRequired. The path to the GeoTIFF.

Response

A 200 OK response with the tile as a PNG image.

/list

Lists all available tiles for a given GeoTIFF file at a specific zoom level.

ParameterTypeInDescription
tifstringqueryRequired. The path to the GeoTIFF file.
zoomintegerqueryOptional. The zoom level. Defaults to the GeoTIFF's minimum zoom level.

Response

A 200 OK response with a JSON array of tile objects, each containing x, y, and z coordinates.

/statistics

Retrieves statistics for each band of a GeoTIFF file.

ParameterTypeInDescription
tifstringqueryRequired. The path to the GeoTIFF.

Response

A 200 OK response with a JSON object containing statistics for each band (e.g., min, max, mean, std).

/info

Provides basic information and metadata about a GeoTIFF file.

ParameterTypeInDescription
tifstringqueryRequired. The path to the GeoTIFF.

Response

A 200 OK response with a JSON object containing metadata such as bounds, zoom levels, band count, CRS and dimensions.

Licensed under the BSD 3-Clause License.