[gdal-dev] [EXTERNAL] [BULK] Re: Is there a way to load a custom driver without a declaration in gdal_frmts.h?

Meyer, Jesse R. (GSFC-618.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] jesse.r.meyer at nasa.gov
Mon Dec 11 08:17:23 PST 2023


Thanks, that looks promising.

Does GDAL automatically call `AutoLoadDrivers`?  If not, do team members need to force a call to that?

From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> on behalf of Laurențiu Nicola via gdal-dev <gdal-dev at lists.osgeo.org>
Reply-To: Laurențiu Nicola <lnicola at dend.ro>
Date: Monday, December 11, 2023 at 11:13 AM
To: "gdal-dev at lists.osgeo.org" <gdal-dev at lists.osgeo.org>
Subject: [EXTERNAL] [BULK] Re: [gdal-dev] Is there a way to load a custom driver without a declaration in gdal_frmts.h?

CAUTION: This email originated from outside of NASA.  Please take care when clicking links or opening attachments.  Use the "Report Message" button to report suspicious messages to the NASA SOC.


Hi Jesse,

https://gdal.org/api/gdaldriver_cpp.html#_CPPv4N17GDALDriverManager15AutoLoadDriversEv should answer your question.

Laurentiu

On Mon, Dec 11, 2023, at 18:11, Meyer, Jesse R. (GSFC-618.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] via gdal-dev wrote:

Hi,



I know drivers can be built as plugins, but can they be detected / used by GDAL if they are not registered via gdal_frmts.h?  It doesn’t seem so.  Is this a C++ ABI restriction?  We’d like to provide members of our team an internal and custom gdal driver implementation without each of them needing a special GDAL build.



Best,

Jesse
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/gdal-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20231211/2b96d8b4/attachment-0001.htm>


More information about the gdal-dev mailing list