Download
Programs
Raster drivers
Vector drivers
User
API
Tutorials
Development
Community
Sponsors
How to contribute?
FAQ
License
Thanks
GDAL
GDAL documentation
»
API
»
Python API
Edit on GitHub
Next
Previous
Python API
General information
Dependencies
Installation
Building as part of the GDAL library source tree
Usage
Numpy
Tutorials
Gotchas
Examples
Examples
Getting information on a raster dataset using dedicated methods
Getting information on a raster dataset using gdal.Info()
Reading a whole raster as a numpy array
Submodules
Submodules
Module contents
Raster API
Driver
Dataset
Band
Other
Vector API
Layer
Feature
Geometry
FeatureDefn
FieldDefn
GeomFieldDefn
FieldDomain
Relationship
StyleTable
Spatial Reference System API
SpatialReference
CoordinateTransformation
Multi-dimensional array API
Group
Dimension
MDArray
Attribute
ExtendedDataType
Utilities API
Raster Utilities
Multidimensional Raster Utilities
Vector Utilities
General API
Configuration Management
Error Handling
File Management
Gotchas in the GDAL and OGR Python Bindings
Gotchas that are by design... or per history
Gotchas that result from bugs or behaviors of other software
Sample scripts
Python Raster Sample scripts
Python Vector Sample scripts
Python Coordinate Reference System Sample scripts
Python direct ports of c++ programs
Python sample scripts that are now programs