API

GDAL/OGR In Other Languages

There is a set of generic SWIG interface files in the GDAL source tree (subdirectory swig) and a set of language bindings based on those. Currently active ones are:

There are also other bindings that are developed outside of the GDAL source tree (note: those offer APIs not strictly coupled the GDAL/OGR C/C++ API). These include bindings for

Warning

For Perl, since GDAL 3.5 the link Perl is deprecated, use above link instead.

For R, rgdal in SourceForge is out of date.

There are also more Pythonic ways of using the vector/OGR functions with