GDAL-CONFIG(1)
β¨ GDAL-CONFIG(1) β¨
okay so bestie, this is the gdal-config page from the GDAL manual β and it's genuinely iconic, i promise π
π NAME π
gdal-config β figures out various info about a GDAL installation. no cap, that's literally the whole job.
(yeah it says it twice in the original, and honestly? it's giving main character energy. it determines various information about a GDAL installation. π«Ά)
π SYNOPSIS π
gdal-config [OPTIONS]
Options:
[--prefix[=DIR]]
[--libs]
[--cflags]
[--version]
[--ogr-enabled]
[--formats]
πΈ DESCRIPTION πΈ
so this little utility script (it lives on Unix systems btw, it's a Unix girlie π§) lets you ask a GDAL installation all sorts of stuff about itself. like a vibe check but for your build β¨
ngl, it's normally just the thing that configure scripts call when an application is using GDAL β but you as an end user can absolutely query it yourself. it's not exclusive, it's inclusive π«Ά
Here's the full rundown of everything it can tell you:
--prefixβ the top level directory for the GDAL installation. like, where it lives π--libsβ the libraries and link directives you need in order to use GDAL. so, what to link against, periodt.--cflagsβ the include and macro definition required to compiled modules using GDAL. so, what to compile with π--versionβ reports the GDAL version. the receipts. the numbers. lowkey the most-asked one π₯--ogr-enabledβ reports"yes"or"no"to standard output, depending on whether OGR is built into GDAL. yes or no bestie, no essay required π--formatsβ reports which formats are configured into GDAL to stdout. the full roster of what your build can actually do π
π AUTHOR π
Frank Warmerdam <warmerdam@pobox.com> β the icon, the legend, the moment. π
π COPYRIGHT π
1998-2026 β that's a long reign, and honestly? well deserved. β¨
that's the whole page bestie, you ate it π and just so you have the receipts: this is from the GDAL manual and this version is dated Aug 18, 2026. go forth and configure your builds, i'm obsessed ππ¦π
π¦ where this page comes from
- alpine 3.24: gdal-doc 3.13.3-r0 Β· MIT
- arch rolling: gdal 3.13.3-6 Β· MIT
- ubuntu stonking: libgdal-dev 3.13.3+dfsg-1ubuntu4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms