Skip to content

factory

titiler.mosaic.factory

TiTiler.mosaic Router factories.

MosaicTilerFactory

Bases: BaseFactory

MosaicTiler Factory.

assets

assets()

Register /assets endpoint.

info

info()

Register /info endpoint

map_viewer

map_viewer()

Register /map.html endpoint.

ogc_maps

ogc_maps()

Register OGC Maps /map` endpoint.

part

part()

Register /bbox and /feature endpoint.

point

point()

Register /point endpoint.

register_routes

register_routes()

This Method register routes to the router.

statistics

statistics()

Register /statistics endpoint.

tile

tile()

Register /tiles endpoints.

tilejson

tilejson()

Add tilejson endpoint.

tilesets

tilesets()

Register OGC tilesets endpoints.

DatasetPathParams

DatasetPathParams(url: Annotated[str, Query(description='Mosaic URL')]) -> str

Create dataset path from args

PixelSelectionParams

PixelSelectionParams(
    pixel_selection: Annotated[
        Literal[tuple([(name) for e in PixelSelectionMethod])],
        Query(description="Pixel selection method."),
    ] = "first",
) -> MosaicMethodBase

Returns the mosaic method used to combine datasets together.