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

Even Rouault even.rouault at spatialys.com
Fri Feb 1 09:10:10 PST 2019


(Re-adding the list)

> > Is the split in 2 directories for aesthetic reasons, or because it makes
> > the
> > conditional compiling logic easier ?
> 
> The latter. I'd like to avoid modifying the cpp files themselves to add
> ifdefs to them.

OK, I'm not clear why the split would change something in that respect. Or 
perhaps I misunderstood your proposals: would be the enabling/disabling 
compilation of raw drivers be for all raw drivers at a time, or per-driver ? I 
initially assumed the later, but guess this must be the former, given what you 
mention above. Not that I particularly care about either way, but just for the 
sake of my understanding.

> 
> > > raw/ would only contain rawdataset.cpp|h and would be a mandatory driver
> > > (it is required by the vrt system)
> So it could go to gcore ? That would have less overhead all-in-all.

Indeed I was considering this as an option. There are a number of GNUmakefile/
makefile.vc with -I../raw in them that could be cleaned up a bit then.

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


More information about the gdal-dev mailing list