Own algorithms - how to include our own algorithms #699
-
I'm coming back at you to understand what is the best deployment strategy for including our own algorithms in titiler. We'd like to avoid forking and build/deploy as that comes with an additional maintenance effort for aligning future features and releases. Do you see alternative options to register "own algorithms" and start the titiler app? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
TiTiler is a full python module and should not be forked but installed and extended if needed. This way you can make sure to reduce the maintenance while this repo move forward. The easiest way to include your own algorithm is to follow: https://developmentseed.org/titiler/advanced/Algorithms/#dependency |
Beta Was this translation helpful? Give feedback.
-
Hi @vincentsarago, ok, understood. I did a new main.py including blocks like this one: stac = MultiBaseTilerFactory(
reader=STACReader,
router_prefix="/stac",
extensions=[
stacViewerExtension(),
],
process_dependency=PostProcessParams,
) I'm happy with the outcome, thank you for taking the time Fabrice |
Beta Was this translation helpful? Give feedback.
Hi @fabricebrito
TiTiler is a full python module and should not be forked but installed and extended if needed. This way you can make sure to reduce the maintenance while this repo move forward.
The easiest way to include your own algorithm is to follow: https://developmentseed.org/titiler/advanced/Algorithms/#dependency