<div dir="ltr">I get a little more aggressive compared to what others suggested by commenting out register calls in gdalallregister.cpp and ogrregisterall.cpp and removing the code for the drivers.<div><br></div><div>There are gotchyas lurking, but it definitely works.</div><div><br></div><div>e.g.</div><div>Enable HDF5, but block BAG</div><div>Enable EHDR & ENVI, but leave out the rest of the raw drivers</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 8, 2018 at 4:36 AM, Tobias Wendorff <span dir="ltr"><<a href="mailto:tobias.wendorff@tu-dortmund.de" target="_blank">tobias.wendorff@tu-dortmund.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have created a config for minimal raster and vector.<br>
<br>
I can uploaded later when I am at home.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Von einem iPhone gesendet und wird daher Fehler enthalten…<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
Am 08.03.2018 um 13:23 schrieb Ben Elliston <<a href="mailto:ben.elliston@anu.edu.au">ben.elliston@anu.edu.au</a>>:<br>
<br>
> Is it possible to limit the number of drivers compiled into GDAL (I am<br>
> guessing not)? Alternatively, would a patch be welcome to read a<br>
> confguration file to limit which drivers are registered at initialisation?<br>
><br>
> Cheers,<br>
> Ben<br>
> ______________________________<wbr>_________________<br>
> gdal-dev mailing list<br>
> <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/gdal-dev</a><br>
______________________________<wbr>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/gdal-dev</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--<div><a href="http://schwehr.org" target="_blank">http://schwehr.org</a></div></div>
</div>