Building a Minimal GDAL

OPeNDAP (dods) and S3 drivers are mutually exclusive.

  • The document is slightly outdated so some drivers will not be disabled and configuration options will be ignored with warnings. https://trac.osgeo.org/gdal/wiki/BuildingOnUnixWithMinimizedDrivers
  • 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.