gdal programs: fill help URLs

Fixes #11481
This commit is contained in:
Even Rouault 2024-12-12 14:52:04 +01:00
parent 01ed0afd03
commit 08fb6beae6
No known key found for this signature in database
GPG Key ID: 33EBBFC47B3DD87D
14 changed files with 21 additions and 14 deletions

View File

@ -30,7 +30,7 @@ class GDALConvertAlgorithm
static constexpr const char *DESCRIPTION =
"Convert a dataset (shortcut for 'gdal raster convert' or "
"'gdal vector convert').";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL = "/programs/gdal_convert.html";
static std::vector<std::string> GetAliases()
{

View File

@ -30,7 +30,7 @@ class GDALInfoAlgorithm final
static constexpr const char *DESCRIPTION =
"Return information on a dataset (shortcut for 'gdal raster info' or "
"'gdal vector info').";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL = "/programs/gdal_info.html";
static std::vector<std::string> GetAliases()
{

View File

@ -30,7 +30,7 @@ class GDALPipelineAlgorithm final
static constexpr const char *DESCRIPTION =
"Execute a pipeline (shortcut for 'gdal raster pipeline' or 'gdal "
"vector pipeline').";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL = "/programs/gdal_pipeline.html";
static std::vector<std::string> GetAliases()
{

View File

@ -26,7 +26,7 @@ class GDALRasterAlgorithm final : public GDALAlgorithm
public:
static constexpr const char *NAME = "raster";
static constexpr const char *DESCRIPTION = "Raster commands.";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL = "/programs/gdal_raster.html";
static std::vector<std::string> GetAliases()
{

View File

@ -26,7 +26,8 @@ class GDALRasterConvertAlgorithm final : public GDALAlgorithm
public:
static constexpr const char *NAME = "convert";
static constexpr const char *DESCRIPTION = "Convert a raster dataset.";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL =
"/programs/gdal_raster_convert.html";
static std::vector<std::string> GetAliases()
{

View File

@ -27,7 +27,7 @@ class GDALRasterInfoAlgorithm final : public GDALAlgorithm
static constexpr const char *NAME = "info";
static constexpr const char *DESCRIPTION =
"Return information on a raster dataset.";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL = "/programs/gdal_raster_info.html";
static std::vector<std::string> GetAliases()
{

View File

@ -27,7 +27,7 @@ class GDALVectorAlgorithm final : public GDALAlgorithm
public:
static constexpr const char *NAME = "vector";
static constexpr const char *DESCRIPTION = "Vector commands.";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL = "/programs/gdal_vector.html";
static std::vector<std::string> GetAliases()
{

View File

@ -26,7 +26,8 @@ class GDALVectorConvertAlgorithm final : public GDALAlgorithm
public:
static constexpr const char *NAME = "convert";
static constexpr const char *DESCRIPTION = "Convert a vector dataset.";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL =
"/programs/gdal_vecotr_convert.html";
static std::vector<std::string> GetAliases()
{

View File

@ -27,7 +27,8 @@ class GDALVectorFilterAlgorithm /* non final */
public:
static constexpr const char *NAME = "filter";
static constexpr const char *DESCRIPTION = "Filter a vector dataset.";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL =
"/programs/gdal_vector_pipeline.html";
static std::vector<std::string> GetAliases()
{

View File

@ -27,7 +27,7 @@ class GDALVectorInfoAlgorithm final : public GDALAlgorithm
static constexpr const char *NAME = "info";
static constexpr const char *DESCRIPTION =
"Return information on a vector dataset.";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL = "/programs/gdal_vector_info.html";
static std::vector<std::string> GetAliases()
{

View File

@ -74,7 +74,8 @@ class GDALVectorPipelineAlgorithm final : public GDALVectorPipelineStepAlgorithm
public:
static constexpr const char *NAME = "pipeline";
static constexpr const char *DESCRIPTION = "Process a vector dataset.";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL =
"/programs/gdal_vector_pipeline.html";
static std::vector<std::string> GetAliases()
{

View File

@ -26,7 +26,8 @@ class GDALVectorReadAlgorithm final : public GDALVectorPipelineStepAlgorithm
public:
static constexpr const char *NAME = "read";
static constexpr const char *DESCRIPTION = "Read a vector dataset.";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL =
"/programs/gdal_vector_pipeline.html";
static std::vector<std::string> GetAliases()
{

View File

@ -27,7 +27,8 @@ class GDALVectorReprojectAlgorithm /* non final */
public:
static constexpr const char *NAME = "reproject";
static constexpr const char *DESCRIPTION = "Reproject a vector dataset.";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL =
"/programs/gdal_vector_pipeline.html";
static std::vector<std::string> GetAliases()
{

View File

@ -26,7 +26,8 @@ class GDALVectorWriteAlgorithm final : public GDALVectorPipelineStepAlgorithm
public:
static constexpr const char *NAME = "write";
static constexpr const char *DESCRIPTION = "Write a vector dataset.";
static constexpr const char *HELP_URL = ""; // TODO
static constexpr const char *HELP_URL =
"/programs/gdal_vector_pipeline.html";
static std::vector<std::string> GetAliases()
{