[gdal-dev] [Proposal] Move optional raw datasets to separate directory

Even Rouault even.rouault at spatialys.com
Fri Feb 1 08:49:41 PST 2019


Thomas,

> Following #1250 [1] that allows deactivating drivers at configure time,
> in the interest of cutting down on compile time, generated binary size and
> surface of attack in case of flaws, I would like to propose to be able to
> split the frmts/raw directory in 2.

Is the split in 2 directories for aesthetic reasons, or because it makes the 
conditional compiling logic easier ?

> 
> raw/ would only contain rawdataset.cpp|h and would be a mandatory driver
> (it is required by the vrt system)

Technically/pedanticaly this is not a driver (there's no "RAW" driver by 
itself), but a base class extended by other drivers.

> 
> rawmisc/ (or another name to be proposed) would contain all the other
> files, and could be optionally disabled at configure time as in #1250

"rawdrivers" maybe ?

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list