OPeNDAP (dods) and S3 drivers are mutually exclusive.

Step-by-step guide

  1. See [1] for configuration option. The document is slightly outdated so some drivers will not be disabled and configuration options will be ignored with warnings.


From gdal-dev mailing list:


Thomas Bonfort recently contributed patches for Unix builds in GDAL master to produce a minimal GDAL.

For the raster side (frmts/ subdirectory), the following drivers are required:

derived gtiff hfa mem vrt. All others can be disabled For the vector side (ogr/ogrsf_frmts/ subdirectory), the following drivers are

required: generic geojson kml mem mitab vrt. All others can be disabled With some tweaking of the Windows makefiles, you could likely get the same result.


Even

References

  1. https://trac.osgeo.org/gdal/wiki/BuildingOnUnixWithMinimizedDrivers