Introduction to Geospatial Code Libraries

This chapter will introduce the major code libraries used to process and analyze geospatial data. You will learn the characteristics of each library, how they are related to each other, how to install them, where to find additional documentation, and typical use cases. These instructions assume that the user has a recent (2.7 or later) version of Python on their machine, and do not cover installing Python. Next, we'll discuss how all of these packages fit together and how they are covered in the rest of this book.

The following libraries will be covered in this chapter:

  • GDAL/OGR
  • GEOS
  • Shapely
  • Fiona
  • Python Shapefile Library (pyshp)
  • pyproj
  • Rasterio
  • GeoPandas

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.