Skip to content

Commit

Permalink
gdal programs: fill help URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Dec 12, 2024
1 parent 01ed0af commit 08fb6be
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion apps/gdalalg_convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
2 changes: 1 addition & 1 deletion apps/gdalalg_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
2 changes: 1 addition & 1 deletion apps/gdalalg_pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
2 changes: 1 addition & 1 deletion apps/gdalalg_raster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
3 changes: 2 additions & 1 deletion apps/gdalalg_raster_convert.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
2 changes: 1 addition & 1 deletion apps/gdalalg_raster_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
2 changes: 1 addition & 1 deletion apps/gdalalg_vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
3 changes: 2 additions & 1 deletion apps/gdalalg_vector_convert.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
3 changes: 2 additions & 1 deletion apps/gdalalg_vector_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
2 changes: 1 addition & 1 deletion apps/gdalalg_vector_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
3 changes: 2 additions & 1 deletion apps/gdalalg_vector_pipeline.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
3 changes: 2 additions & 1 deletion apps/gdalalg_vector_read.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
3 changes: 2 additions & 1 deletion apps/gdalalg_vector_reproject.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
3 changes: 2 additions & 1 deletion apps/gdalalg_vector_write.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 08fb6be

Please sign in to comment.