Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1431,9 +1431,9 @@ Migration doc available at: https://developmentseed.org/titiler/migrations/v2_mi
**breaking changes**

* remove `timing headers` and `titiler.core.utils` submodule
* remove `asset_expression` (except in `/asset_statistics` endpoint) (see https://cogeotiff.github.io/rio-tiler/v4_migration/#multibasereader-expressions)
* remove `asset_expression` (except in `/asset_statistics` endpoint) (see https://cogeotiff.github.io/rio-tiler/latest/migrations/v4_migration/#multibasereader-expressions)
* update Point output model to include `band_names`
* histogram and info band names are prefixed with `b` (e.g `b1`) (ref: https://cogeotiff.github.io/rio-tiler/v4_migration/#band-names)
* histogram and info band names are prefixed with `b` (e.g `b1`) (ref: https://cogeotiff.github.io/rio-tiler/latest/migrations/v4_migration/#band-names)
* add `/map` endpoint in TilerFactory to display tiles given query-parameters
* remove `TMSParams` and `WebMercatorTMSParams` dependencies.
* replace `TilerFactory.tms_dependency` attribute by `TilerFactory.supported_tms`. This attribute gets a `morecantile.defaults.TileMatrixSets` store and will create the tms dependencies dynamically
Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ plugins:
- https://rasterio.readthedocs.io/en/stable/objects.inv
- https://docs.pydantic.dev/latest/objects.inv
- https://fastapi.tiangolo.com/objects.inv
- https://cogeotiff.github.io/rio-tiler/objects.inv
- https://cogeotiff.github.io/rio-tiler/latest/objects.inv

theme:
name: material
Expand Down
6 changes: 3 additions & 3 deletions docs/src/advanced/endpoints_factories.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TiTiler's endpoints factories are helper functions that let users create a FastA

!!! Important

Most of `tiler` **Factories** are built around [`rio_tiler.io.BaseReader`](https://cogeotiff.github.io/rio-tiler/advanced/custom_readers/), which defines basic methods to access datasets (e.g COG or STAC). The default reader is `Reader` for `TilerFactory` and `MosaicBackend` for `MosaicTilerFactory`.
Most of `tiler` **Factories** are built around [`rio_tiler.io.BaseReader`](https://cogeotiff.github.io/rio-tiler/latest/advanced/custom_readers/), which defines basic methods to access datasets (e.g COG or STAC). The default reader is `Reader` for `TilerFactory` and `MosaicBackend` for `MosaicTilerFactory`.

Factories classes use [dependencies injection](dependencies.md) to define most of the endpoint options.

Expand Down Expand Up @@ -35,7 +35,7 @@ Most **Factories** are built from this [abstract based class](https://docs.pytho

class: `titiler.core.factory.TilerFactory`

Factory meant to create endpoints for single dataset using [*rio-tiler*'s `Reader`](https://cogeotiff.github.io/rio-tiler/readers/#rio_tileriorasterioreader).
Factory meant to create endpoints for single dataset using [*rio-tiler*'s `Reader`](https://cogeotiff.github.io/rio-tiler/latest/readers/#rio_tileriorasterioreader).

#### Attributes

Expand Down Expand Up @@ -105,7 +105,7 @@ app.include_router(cog.router)

class: `titiler.core.factory.MultiBaseTilerFactory`

Custom `TilerFactory` to be used with [`rio_tiler.io.MultiBaseReader`](https://cogeotiff.github.io/rio-tiler/advanced/custom_readers/#multibasereader) type readers (e.g [`rio_tiler.io.STACReader`](https://cogeotiff.github.io/rio-tiler/readers/#rio_tileriostacstacreader)).
Custom `TilerFactory` to be used with [`rio_tiler.io.MultiBaseReader`](https://cogeotiff.github.io/rio-tiler/latest/advanced/custom_readers/#multibasereader) type readers (e.g [`rio_tiler.io.STACReader`](https://cogeotiff.github.io/rio-tiler/latest/readers/#rio_tileriostacstacreader)).

#### Attributes

Expand Down
2 changes: 1 addition & 1 deletion docs/src/examples/code/tiler_with_custom_stac+xarray.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

**links**:

- https://cogeotiff.github.io/rio-tiler/examples/STAC_datacube_support/
- https://cogeotiff.github.io/rio-tiler/latest/examples/STAC_datacube_support/


#### 1. Custom STACReader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
"source": [
"Apply non-linear colormap (intervals)\n",
"\n",
"see https://cogeotiff.github.io/rio-tiler/colormap/#intervals-colormaps"
"see https://cogeotiff.github.io/rio-tiler/latest/colormap/#intervals-colormaps"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/src/user_guide/algorithms.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class BaseAlgorithm(BaseModel, metaclass=abc.ABCMeta):

This base class defines that algorithm:

- **HAVE TO** implement an `__call__` method which takes an [ImageData](https://cogeotiff.github.io/rio-tiler/models/#imagedata) as input and return an [ImageData](https://cogeotiff.github.io/rio-tiler/models/#imagedata). Using `__call__` let us use the object as a callable (e.g `Algorithm(**kwargs)(image)`).
- **HAVE TO** implement an `__call__` method which takes an [ImageData](https://cogeotiff.github.io/rio-tiler/latest/models/#imagedata) as input and return an [ImageData](https://cogeotiff.github.io/rio-tiler/latest/models/#imagedata). Using `__call__` let us use the object as a callable (e.g `Algorithm(**kwargs)(image)`).

- can have input/output metadata (informative)

Expand Down
4 changes: 2 additions & 2 deletions docs/src/user_guide/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TiTiler supports both default colormaps (each with a name) and custom color maps

Default colormaps pre-made, each with a given name. These maps come from the `rio-tiler` library, which has taken colormaps packaged with Matplotlib and has added others that are commonly used with raster data.

A list of available color maps can be found in Titiler's Swagger docs, or in the [rio-tiler documentation](https://cogeotiff.github.io/rio-tiler/colormap/#default-rio-tilers-colormaps).
A list of available color maps can be found in Titiler's Swagger docs, or in the [rio-tiler documentation](https://cogeotiff.github.io/rio-tiler/latest/colormap/#default-rio-tilers-colormaps).

To use a default colormap, simply use the parameter `colormap_name`:

Expand Down Expand Up @@ -61,7 +61,7 @@ response = httpx.get(

TiTiler supports colormaps that are both discrete (where pixels will be one of the colors that you specify) and linear (where pixel colors will blend between the given colors).

For more information, please check out [rio-tiler's docs](https://cogeotiff.github.io/rio-tiler/colormap/).
For more information, please check out [rio-tiler's docs](https://cogeotiff.github.io/rio-tiler/latest/colormap/).

It is also possible to add a [colormap dependency](../examples/code/tiler_with_custom_colormap) to automatically apply
a default colormap.
Expand Down
2 changes: 1 addition & 1 deletion src/titiler/mosaic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<img style="max-width:400px" src="https://github.com/user-attachments/assets/14b92588-14eb-4b37-b862-cc5d0d8015c9"/>

Adds support for Mosaic in Titiler. `Mosaic's` backend needs to be built on top of rio-tiler's Mosaic Backend https://cogeotiff.github.io/rio-tiler/advanced/mosaic_backend/
Adds support for Mosaic in Titiler. `Mosaic's` backend needs to be built on top of rio-tiler's Mosaic Backend https://cogeotiff.github.io/rio-tiler/latest/advanced/mosaic_backend/

## Installation

Expand Down