LCOV - code coverage report
Current view: top level - apps - gdalalg_crs.cpp (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 4 7 57.1 %
Date: 2026-11-30 21:24:02 Functions: 1 2 50.0 %

          Line data    Source code
       1             : /******************************************************************************
       2             :  *
       3             :  * Project:  GDAL
       4             :  * Purpose:  gdal "crs" subcommand
       5             :  * Author:   Alessandro Pasotti <elpaso at itopen dot it>
       6             :  *
       7             :  ******************************************************************************
       8             :  * Copyright (c) 2026, Alessandro Pasotti <elpaso at itopen dot it>
       9             :  *
      10             :  * SPDX-License-Identifier: MIT
      11             :  ****************************************************************************/
      12             : 
      13             : //! @cond Doxygen_Suppress
      14             : 
      15             : #include "cpl_error.h"
      16             : #include "gdalalg_crs.h"
      17             : #include "gdalalg_crs_info.h"
      18             : #include "gdalalgorithm.h"
      19             : #include "gdal_priv.h"
      20             : 
      21             : /************************************************************************/
      22             : /*                           GDALCRSAlgorithm                           */
      23             : /************************************************************************/
      24             : 
      25          59 : GDALCRSAlgorithm::GDALCRSAlgorithm()
      26          59 :     : GDALAlgorithm(NAME, DESCRIPTION, HELP_URL)
      27             : {
      28          59 :     RegisterSubAlgorithm<GDALCRSInfoAlgorithm>();
      29          59 : }
      30             : 
      31           0 : bool GDALCRSAlgorithm::RunImpl(GDALProgressFunc, void *)
      32             : {
      33           0 :     CPLError(CE_Failure, CPLE_AppDefined,
      34             :              "The Run() method should not be called directly on the \"gdal "
      35             :              "dataset\" program.");
      36           0 :     return false;
      37             : }
      38             : 
      39             : //! @endcond

Generated by: LCOV version 1.14