[gdal-dev] Call for review on RFC 109: Split of gdal_priv.h and addition of gdal_cpp.h header

Even Rouault even.rouault at spatialys.com
Tue Sep 16 06:03:38 PDT 2025


Andrew,
>
> Not sure I understand this. Do you have an example?

The vector C++ API involves including typically ogrsf_frmts.h. So the 
question is whether gdal_cpp.h should include it or not (currently it 
doesn't)

>
> "Does the content of :file:`gdal_cpp.h` must target only the GDAL 
> "classic 2D" and
>   multidimensional C++ API, or also the C++ vector API ?
>
> On Mon, Sep 15, 2025 at 3:20 PM Even Rouault via gdal-dev 
> <gdal-dev at lists.osgeo.org> wrote:
>
>     Hi,
>
>     Please review https://github.com/OSGeo/gdal/pull/13071 : Split of
>     gdal_priv.h and addition of gdal_cpp.h header
>
>     Summary:
>
>     This RFC splits the content of gdal_priv.h, the installed header
>     containing declaration for GDAL (raster) C++ classes, into finer
>     grain
>     exported headers. It also adds a new gdal_cpp.h exported header,
>     which
>     is essentially the content of current gdal_priv.h header, but with a
>     more engaging name. Those changes are done in a fully backward
>     compatible way: current external users of gdal_priv.h will not
>     have any
>     change to do in their source code.
>
>     Even
>
>     -- 
>     http://www.spatialys.com
>     My software is free, but my time generally not.
>
>     _______________________________________________
>     gdal-dev mailing list
>     gdal-dev at lists.osgeo.org
>     https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>
> -- 
> Andrew Bell
> andrew.bell.ia at gmail.com

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250916/988f159b/attachment.htm>


More information about the gdal-dev mailing list