Welcome to the Python GDAL/OGR Cookbook!

This cookbook has simple code snippets on how to use the Python GDAL/OGR API. The web site is a project at GitHub and served by Github Pages. If you find missing recipes or mistakes in existing recipes please add an issue to the issue tracker.

For a detailed description of the whole Python GDAL/OGR API, see the useful API docs.

We heavily relied on Chris Garrard’s excellent Geoprocessing with Python using Open Source GIS and the official GDAL/OGR Python documentation. Another great source of examples is OGR’s autotest directory.

Indices and tables

Table Of Contents

Next topic

GDAL/OGR General

This Page