Is it possible to add title and description for algorithm?
#786
Closed
JinIgarashi
started this conversation in
Feature Request
Replies: 1 comment 1 reply
-
|
Sure 🙏 feel free to add this in #783 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@vincentsarago
I can add any parameters and metadata (under
inputs_andoutputs_), but current titiler algorithm cannot havetitleanddescription. These properties can be very useful for users because most of users don't know what isterrarium,terrainrgb, or custom algorithm.It would be nice if
titleanddescriptionproperties can be included optionally in algorithm details. Is it possible to have them in the response?For example, response can be as below JSON.
{ "title": "Hillshade", "description": "Hillshade layer description", "inputs":{ "nbands":1 }, "outputs":{ "nbands":1, "dtype":"uint8", "min":null, "max":null }, "parameters":{ "azimuth":{ "default":90, "title":"Azimuth", "type":"integer" }, "angle_altitude":{ "default":90, "title":"Angle Altitude", "type":"number" }, "buffer":{ "default":3, "title":"Buffer", "type":"integer" } } }Beta Was this translation helpful? Give feedback.
All reactions