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.
Parameter | Type | In | Description |
---|---|---|---|
z | integer | path | Z coordinate of the tile (zoom level). |
x | integer | path | X coordinate of the tile. |
y | integer | path | Y coordinate of the tile. |
tif | string | query | Required. 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.
Parameter | Type | In | Description |
---|---|---|---|
tif | string | query | Required. The path to the GeoTIFF file. |
zoom | integer | query | Optional. 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.
Parameter | Type | In | Description |
---|---|---|---|
tif | string | query | Required. 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.
Parameter | Type | In | Description |
---|---|---|---|
tif | string | query | Required. 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.