LCOV - code coverage report
Current view: top level - ogr/ogrsf_frmts/arrow - ogrfeatherdataset.cpp (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 10 10 100.0 %
Date: 2024-11-21 22:18:42 Functions: 2 2 100.0 %

          Line data    Source code
       1             : /******************************************************************************
       2             :  *
       3             :  * Project:  Feather Translator
       4             :  * Purpose:  Implements OGRFeatherDriver.
       5             :  * Author:   Even Rouault, <even.rouault at spatialys.com>
       6             :  *
       7             :  ******************************************************************************
       8             :  * Copyright (c) 2022, Planet Labs
       9             :  *
      10             :  * SPDX-License-Identifier: MIT
      11             :  ****************************************************************************/
      12             : 
      13             : #include "ogr_feather.h"
      14             : 
      15             : #include "../arrow_common/ograrrowdataset.hpp"
      16             : 
      17             : /************************************************************************/
      18             : /*                         OGRFeatherDataset()                          */
      19             : /************************************************************************/
      20             : 
      21         547 : OGRFeatherDataset::OGRFeatherDataset(
      22         547 :     const std::shared_ptr<arrow::MemoryPool> &poMemoryPool)
      23         547 :     : OGRArrowDataset(poMemoryPool)
      24             : {
      25         547 : }
      26             : 
      27             : /************************************************************************/
      28             : /*                           TestCapability()                           */
      29             : /************************************************************************/
      30             : 
      31         152 : int OGRFeatherDataset::TestCapability(const char *pszCap)
      32             : 
      33             : {
      34         152 :     if (EQUAL(pszCap, ODsCZGeometries))
      35           8 :         return true;
      36         144 :     else if (EQUAL(pszCap, ODsCMeasuredGeometries))
      37           8 :         return true;
      38             : 
      39         136 :     return false;
      40             : }

Generated by: LCOV version 1.14