Raster operations using GDAL

The GDAL library allows you to read and write both vector and raster data. To install GDAL on Windows, you will need the appropriate binaries:

You can download OSGeo4W, which contains the binaries, at: https://trac.osgeo.org/osgeo4w/

When you have the binaries, you can install gdal using conda, as follows:

conda install -c conda-forge gdal

In the following sections, you will learn how to load and work with a .tif file.

Get Mastering Geospatial Analysis with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.