You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/advanced/dependencies.md
+42-60Lines changed: 42 additions & 60 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -412,32 +412,6 @@ class BidxExprParams(ExpressionParams, BidxParams):
412
412
413
413
</details>
414
414
415
-
#### `ColorFormulaParams`
416
-
417
-
Color Formula option (see https://github.com/vincentsarago/color-operations).
418
-
419
-
| Name | Type | Required | Default
420
-
| ------ | ----------|----------|--------------
421
-
| **color_formula** | Query (str) | No | None
422
-
423
-
<details>
424
-
425
-
```python
426
-
defColorFormulaParams(
427
-
color_formula: Annotated[
428
-
Optional[str],
429
-
Query(
430
-
title="Color Formula",
431
-
description="rio-color formula (info: https://github.com/mapbox/rio-color)",
432
-
),
433
-
] =None,
434
-
) -> Optional[str]:
435
-
"""ColorFormula Parameter."""
436
-
return color_formula
437
-
```
438
-
439
-
</details>
440
-
441
415
#### `ColorMapParams`
442
416
443
417
Colormap options. See [titiler.core.dependencies](https://github.com/developmentseed/titiler/blob/e46c35c8927b207f08443a274544901eb9ef3914/src/titiler/core/titiler/core/dependencies.py#L18-L54).
Copy file name to clipboardExpand all lines: docs/src/advanced/endpoints_factories.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,13 +47,12 @@ Factory meant to create endpoints for single dataset using [*rio-tiler*'s `Reade
47
47
-**img_preview_dependency**: Dependency to define image size for `/preview` and `/statistics` endpoints. Defaults to `titiler.core.dependencies.PreviewParams`.
48
48
-**img_part_dependency**: Dependency to define image size for `/bbox` and `/feature` endpoints. Defaults to `titiler.core.dependencies.PartFeatureParams`.
49
49
-**process_dependency**: Dependency to control which `algorithm` to apply to the data. Defaults to `titiler.core.algorithm.algorithms.dependency`.
50
-
-**rescale_dependency**: Dependency to set Min/Max values to rescale from, to 0 -> 255. Defaults to `titiler.core.dependencies.RescalingParams`.
51
-
-**color_formula_dependency**: Dependency to define the Color Formula. Defaults to `titiler.core.dependencies.ColorFormulaParams`.
52
50
-**colormap_dependency**: Dependency to define the Colormap options. Defaults to `titiler.core.dependencies.ColorMapParams`
53
51
-**render_dependency**: Dependency to control output image rendering options. Defaults to `titiler.core.dependencies.ImageRenderingParams`
54
52
-**environment_dependency**: Dependency to define GDAL environment at runtime. Default to `lambda: {}`.
55
53
-**supported_tms**: List of available TileMatrixSets. Defaults to `morecantile.tms`.
56
54
-**templates**: *Jinja2* templates to use in endpoints. Defaults to `titiler.core.factory.DEFAULT_TEMPLATES`.
55
+
-**render_func**: Image rendering method. Defaults to `titiler.core.utils.render_image`.
57
56
-**add_preview**: . Add `/preview` endpoint to the router. Defaults to `True`.
58
57
-**add_part**: . Add `/bbox` and `/feature` endpoints to the router. Defaults to `True`.
59
58
-**add_viewer**: . Add `/map` endpoints to the router. Defaults to `True`.
@@ -304,8 +303,6 @@ Endpoints factory for mosaics, built on top of [MosaicJSON](https://github.com/d
304
303
-**dataset_dependency**: Dependency to overwrite `nodata` value, apply `rescaling` and change the `I/O` or `Warp` resamplings. Defaults to `titiler.core.dependencies.DatasetParams`.
305
304
-**tile_dependency**: Dependency to define `buffer` and `padding` to apply at tile creation. Defaults to `titiler.core.dependencies.TileParams`.
306
305
-**process_dependency**: Dependency to control which `algorithm` to apply to the data. Defaults to `titiler.core.algorithm.algorithms.dependency`.
307
-
-**rescale_dependency**: Dependency to set Min/Max values to rescale from, to 0 -> 255. Defaults to `titiler.core.dependencies.RescalingParams`.
308
-
-**color_formula_dependency**: Dependency to define the Color Formula. Defaults to `titiler.core.dependencies.ColorFormulaParams`.
309
306
-**colormap_dependency**: Dependency to define the Colormap options. Defaults to `titiler.core.dependencies.ColorMapParams`
310
307
-**render_dependency**: Dependency to control output image rendering options. Defaults to `titiler.core.dependencies.ImageRenderingParams`
311
308
-**pixel_selection_dependency**: Dependency to select the `pixel_selection` method. Defaults to `titiler.mosaic.factory.PixelSelectionParams`.
-**histogram_dependency**: Dependency to define *numpy*'s histogram options used in `/statistics` endpoints. Defaults to `titiler.core.dependencies.HistogramParams`.
354
351
-**img_part_dependency**: Dependency to define image size for `/bbox` and `/feature` endpoints. Defaults to `titiler.xarray.dependencies.PartFeatureParams`.
355
352
-**process_dependency**: Dependency to control which `algorithm` to apply to the data. Defaults to `titiler.core.algorithm.algorithms.dependency`.
356
-
-**rescale_dependency**: Dependency to set Min/Max values to rescale from, to 0 -> 255. Defaults to `titiler.core.dependencies.RescalingParams`.
357
-
-**color_formula_dependency**: Dependency to define the Color Formula. Defaults to `titiler.core.dependencies.ColorFormulaParams`.
358
353
-**colormap_dependency**: Dependency to define the Colormap options. Defaults to `titiler.core.dependencies.ColorMapParams`
359
354
-**render_dependency**: Dependency to control output image rendering options. Defaults to `titiler.core.dependencies.ImageRenderingParams`
360
355
-**environment_dependency**: Dependency to define GDAL environment at runtime. Default to `lambda: {}`.
0 commit comments